Searched refs:cur_threads (Results 1 – 1 of 1) sorted by relevance
69 int cur_threads; member85 while (pool->cur_threads <= pool->max_threads) { in worker_thread()95 pool->cur_threads > pool->min_threads) { in worker_thread()122 pool->cur_threads--; in worker_thread()160 pool->cur_threads++; in spawn_thread()262 if (pool->idle_threads == 0 && pool->cur_threads < pool->max_threads) { in thread_pool_submit_aio()314 for (int i = pool->cur_threads; i < pool->min_threads; i++) { in thread_pool_update_params()318 for (int i = pool->cur_threads; i > pool->max_threads; i--) { in thread_pool_update_params()364 pool->cur_threads -= pool->new_threads; in thread_pool_free()370 while (pool->cur_threads > 0) { in thread_pool_free()