|
AWS IoT Device SDK C:
Task Pool
Task pool library
|
| Return to main page ↑ |
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. |