jobs(3)

πŸ“¦ version 6.1.3, in epel 9

πŸ’– NAME πŸ’–

okay bestie, welcome to jobs(3) from the torque manual β€” the page whose whole name vibe is remembering submitted job in session. That’s it, that’s the lore: jobs = remembering submitted job in session. Periodt. πŸ’…


✨ SYNOPSIS ✨

🧚 Data Structures 🧚

  • struct drmaa_job_s β€” Job data stored for each submitted job.
  • struct drmaa_job_iter_s β€” Iterates over submitted jobs set.

🫢 Functions 🫢

  • void drmaa_get_job_list_iter (drmaa_session_t *session, drmaa_job_iter_t *iter) β€” Returns iterator to jobs held in DRMAA session.
  • drmaa_job_t * drmaa_get_next_job (drmaa_job_iter_t *iter) β€” Returns next job identifier from set or NULL if set finished.
  • void drmaa_add_job (drmaa_session_t *c, drmaa_job_t *job) β€” Adds job identifier to session.
  • bool drmaa_find_job (drmaa_session_t *c, const char *jobid, drmaa_job_t *found, unsigned flags) β€” Checks if job with given identifier exist in hash table and optionally removes it.

πŸ’… Detailed Description πŸ’…

No extra deets here, bestie β€” the heading is literally the whole moment in this section. Nothing else is listed. Slay, moving on. ✨


πŸ”₯ Function Documentation πŸ”₯

void drmaa_get_job_list_iter (drmaa_session_t * session, drmaa_job_iter_t * iter)

Returns iterator to jobs held in DRMAA session. Caller thread should have drmaa_session_s::jobs_mutex acquired, and the iterator remains valid until the job list is modified (or the lock is released). πŸ”’βœ¨

void drmaa_add_job (drmaa_session_t * c, drmaa_job_t * job)

Adds job identifier to session. Iconic behavior, no cap.

Parameters

  • c β€” DRMAA session.
  • job β€” Malloced drmaa_job_t structure with filled jobid field (also malloced).

bool drmaa_find_job (drmaa_session_t * c, const char * jobid, drmaa_job_t * found, unsigned flags)

Checks if job with given identifier exist in hash table and optionally removes it. The way that’s giving β€œlookup plus optional delete” energy. πŸ’…

Parameters

  • c β€” Opened DRMAA session.
  • jobid β€” Job identifier.
  • found β€” If not NULL and job was found, job session data will be stored here.
  • flags β€” Information to store into session. If DRMAA_JOB_DISPOSE bit is set, session data will be removed.

See also

job_flag_t


πŸ‘‘ Author πŸ‘‘

This page is auto-generated by Doxygen for torque from the source code β€” no human author credited, just the robot drip. πŸ€–βœ¨

πŸ’– source: torque β€’ version 6.1.3 β€’ date Sat Jan 21 2023 β€’ manual jobs(3) β€” mwah, that’s the whole page, bestie! πŸŽ€

πŸ“¦ where this page comes from