Lines Matching full:threads
71 int new_threads; /* backlog of threads we need to create */
72 int pending_threads; /* threads created but not running yet */
96 /* Timed out + no work to do + no need for warm threads = exit. */ in worker_thread()
101 * too many worker threads before picking it up. in worker_thread()
162 /* If there are threads being created, they will spawn new workers, so in spawn_thread()
163 * we don't spend time creating many threads in a loop holding a mutex or in spawn_thread()
166 * If there are no idle threads, ask the main thread to create one, so we in spawn_thread()
302 * - Increase the number available of threads until over the min_threads in thread_pool_update_params()
304 * - Bump the worker threads so that they exit, until under the max_threads in thread_pool_update_params()
306 * - Do nothing. The current number of threads fall in between the min and in thread_pool_update_params()
357 /* Stop new threads from spawning */ in thread_pool_free_aio()
362 /* Wait for worker threads to terminate */ in thread_pool_free_aio()
423 * creation fails but we ask for 0 initial threads above. in thread_pool_new()
460 * provided work is still getting queued (just for the existing threads). in thread_pool_submit()