Lines Matching refs:thread_pools
34 static tpool_t *thread_pools = NULL; variable
47 if (thread_pools == tpool) in delete_pool()
48 thread_pools = tpool->tp_forw; in delete_pool()
49 if (thread_pools == tpool) in delete_pool()
50 thread_pools = NULL; in delete_pool()
389 if (thread_pools == NULL) { in tpool_create()
392 thread_pools = tpool; in tpool_create()
394 thread_pools->tp_back->tp_forw = tpool; in tpool_create()
395 tpool->tp_forw = thread_pools; in tpool_create()
396 tpool->tp_back = thread_pools->tp_back; in tpool_create()
397 thread_pools->tp_back = tpool; in tpool_create()