|
KEEL 1.0.0
Minimal C11 HTTP client/server library built on epoll/kqueue/io_uring/poll
|
Thread pool configuration. All fields have sensible defaults when set to 0/NULL. More...
#include <thread_pool.h>

Data Fields | |
| int | num_workers |
| int | queue_capacity |
| KlAllocator * | alloc |
Thread pool configuration. All fields have sensible defaults when set to 0/NULL.
| int KlThreadPoolConfig::num_workers |
0 = auto-detect via sysconf(_SC_NPROCESSORS_ONLN)
| int KlThreadPoolConfig::queue_capacity |
Max items in work queue (0 = 64)
| KlAllocator* KlThreadPoolConfig::alloc |
NULL = ctx's allocator