Adds job to job list at the next free index in job array.
The function returns the following error codes:
E_CORRUPT
if job list is not initialised properly.E_LIMIT
if memory limit of job list is reached.E_INVALID
if passed job is invalid.Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(job_list_type), | intent(inout) | :: | job_list |
Job list type. |
||
type(job_type), | intent(inout) | :: | job |
Job type to add to list. |