|
AWS IoT Device SDK C:
Task Pool
Task pool library
|
| Return to main page ↑ |
This function schedules a job created with IotTaskPool_CreateJob or IotTaskPool_CreateRecyclableJob against the task pool pointed to by taskPool.
See Design for a description of the jobs lifetime and interaction with the threads used in the task pool library.
| [in] | taskPool | A handle to the task pool that must have been previously initialized with. a call to IotTaskPool_Create. |
| [in] | job | A job to schedule for execution. This must be first initialized with a call to IotTaskPool_CreateJob. |
| [in] | flags | Flags to be passed by the user, e.g. to identify the job as high priority by specifying IOT_TASKPOOL_JOB_HIGH_PRIORITY. |
taskPool used in this function should be the same used to create the job pointed to by job, or the results will be undefined.Example