Task Pool API Reference
Task pool library
|
Destroys a task pool instance and collects all memory associated with a task pool and its satellite data structures.
This function should be called to destroy one instance of a task pool previously created with a call to IotTaskPool_Create or IotTaskPool_CreateSystemTaskPool. Calling this fuction release all underlying resources. After calling this function, any job scheduled but not yet executed will be cancelled and destroyed. The taskPool
instance will no longer be valid after this function returns.
[in] | taskPool | A handle to the task pool, e.g. as returned by a call to IotTaskPool_Create or IotTaskPool_CreateSystemTaskPool. The taskPool instance will no longer be valid after this function returns. |