AWS IoT Device SDK C: Task Pool
Task pool library
Return to main page ↑
IotTaskPool_GetStatus

This function retrieves the current status of a job.

Parameters
[in]taskPoolA handle to the task pool that must have been previously initialized with a call to IotTaskPool_Create or IotTaskPool_CreateSystemTaskPool.
[in]jobThe job to cancel.
[out]pStatusThe status of the job at the time of cancellation.
Returns
One of the following:
Warning
This function is not thread safe and the job status returned in pStatus may be invalid by the time the calling thread has a chance to inspect it.