HTL_worker_associated_with_pool
Associates the worker with a pool.
Interface Definition
int HTL_worker_associated_with_pool(HTL_worker_t worker, HTL_thread_pool_t thread_pool);
Description
HTL_worker_associated_with_pool() does not perform any operation.
Parameters
Parameter |
Type |
Description |
Input/Output |
|---|---|---|---|
worker |
HTL_worker_t |
Handle to the worker. |
Input |
thread_pool |
HTL_thread_pool_t |
Thread pool. |
Input |
Return Value
- HTL_THREAD_SUCCESS: success.
- Other values: failure. For details, see the error code descriptions.
Parent topic: Thread Pool Functions