Lines Matching refs:ThreadPool
26 static void do_spawn_thread(ThreadPool *pool);
38 ThreadPool *pool;
56 struct ThreadPool { struct
79 ThreadPool *pool = opaque; in worker_thread() argument
134 static void do_spawn_thread(ThreadPool *pool) in do_spawn_thread()
151 ThreadPool *pool = opaque; in spawn_thread_bh_fn()
158 static void spawn_thread(ThreadPool *pool) in spawn_thread()
176 ThreadPool *pool = opaque; in thread_pool_completion_bh()
221 ThreadPool *pool = elem->pool; in thread_pool_cancel()
246 ThreadPool *pool = aio_get_thread_pool(ctx); in thread_pool_submit_aio()
298 void thread_pool_update_params(ThreadPool *pool, AioContext *ctx) in thread_pool_update_params()
325 static void thread_pool_init_one(ThreadPool *pool, AioContext *ctx) in thread_pool_init_one()
345 ThreadPool *thread_pool_new(AioContext *ctx) in thread_pool_new()
347 ThreadPool *pool = g_new(ThreadPool, 1); in thread_pool_new()
352 void thread_pool_free(ThreadPool *pool) in thread_pool_free()