Wait until given job terminates (either successfuly or not).
|self||DRMAA session. |
|job_id||Identifier of job to wait for. |
|timeout||If not |
NULL and job does not terminate in given amount of time function returns and FSD_DRMAA_ERRNO_EXIT_TIMEOUT is raised.
|status||If not |
NULL job status code is stored here.
|rusage||If not |
NULL list of used resources is returned.
true job information is removed from session at the end of call and further accesses to this job_id will raise FSD_DRMAA_ERRNO_INVALID_JOB. Otherwise job data is held.
- See also:
- wait_for_any_job wait
Definition at line 174 of file session.h.