Home
last modified time | relevance | path

Searched refs:max_threads (Results 1 – 4 of 4) sorted by relevance

/unit/src/
H A Dnxt_thread_pool.c18 nxt_thread_pool_create(nxt_uint_t max_threads, nxt_nsec_t timeout, in nxt_thread_pool_create() argument
29 tp->max_threads = max_threads; in nxt_thread_pool_create()
69 if (tp->max_threads == 0) { in nxt_thread_pool_init()
210 if (threads >= tp->max_threads) { in nxt_thread_pool_wait()
244 if (tp->max_threads != 0) { in nxt_thread_pool_destroy()
246 tp->max_threads = 0; in nxt_thread_pool_destroy()
H A Dnxt_thread_pool.h18 nxt_uint_t max_threads; member
36 NXT_EXPORT nxt_thread_pool_t *nxt_thread_pool_create(nxt_uint_t max_threads,
H A Dnxt_runtime.h95 nxt_uint_t max_threads, nxt_nsec_t timeout);
H A Dnxt_runtime.c657 nxt_uint_t max_threads, nxt_nsec_t timeout) in nxt_runtime_thread_pool_create() argument
666 thread_pool = nxt_thread_pool_create(max_threads, timeout, in nxt_runtime_thread_pool_create()