jobs(3)
π 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 orNULLif 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β Malloceddrmaa_job_tstructure with filledjobidfield (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 notNULLand job was found, job session data will be stored here.flagsβ Information to store into session. IfDRMAA_JOB_DISPOSEbit 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
- epel 9: torque-drmaa-devel 6.1.3-8.el9 Β· OpenPBS and TORQUEv1.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms