AWS IoT Device SDK C:
Task Pool
Task pool library
|
Return to main page ↑ |
This function schedules a job created with IotTaskPool_CreateJob against the task pool pointed to by taskPool
to be executed after a user-defined time interval.
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] | timeMs | The time in milliseconds to wait before scheduling the job. |
taskPool
used in this function should be the same used to create the job pointed to by job
, or the results will be undefined.