|
AWS IoT Device SDK C:
Task Pool
Task pool library
|
| Return to main page ↑ |
Creates a job for the task pool around a user-provided storage.
This function may allocate memory to hold the state for a job.
| [in] | userCallback | A user-specified callback for the job. |
| [in] | pUserContext | A user-specified context for the callback. |
| [in,out] | pJobStorage | The storage for the job data structure. |
| [out] | pJob | A pointer to an instance of IotTaskPoolJob_t that will be initialized when this function returns successfully. This handle can be used to inspect the job status with IotTaskPool_GetStatus or cancel the job with IotTaskPool_TryCancel, etc.... |