Task Pool API Reference
Task pool library
|
Sets the maximum number of threads for one instance of a task pool.
This function sets the maximum number of threads for the task pool pointed to by taskPool
.
If the number of currently active threads in the task pool is greater than maxThreads
, this function causes the task pool to shrink the number of active threads.
[in] | taskPool | A handle to the task pool that must have been previously initialized with a call to IotTaskPool_Create or IotTaskPool_CreateSystemTaskPool. |
[in] | maxThreads | The maximum number of threads for the task pool. |