HTL_thread_pool_type_t
Type |
Description |
|---|---|
HTL_THREAD_POOL_FIFO |
FIFO pool. |
HTL_THREAD_POOL_FIFO_WAIT |
FIFO pool with a wait capability. If a caller's pop operation fails, either the executor running the caller or a calling external thread will pause for a period of time. This reduces CPU usage when the pool is empty, but increases the overhead of each pool operation. |
HTL_THREAD_POOL_RANDOM |
Random work-stealing pool. This pool is suitable for fine-grained tasks in parallel and works with a scheduler of the HTL_THREAD_SCHEDULER_RANDOM or HTL_THREAD_SCHEDULER_RANDOM_NUMA type. |
Parent topic: Enumeration