Lines Matching refs:ThreadPool
378 struct ThreadPool { struct
393 ThreadPool *pool = user_data; in thread_pool_func() argument
412 ThreadPool *thread_pool_new(void) in thread_pool_new()
414 ThreadPool *pool = g_new(ThreadPool, 1); in thread_pool_new()
430 void thread_pool_free(ThreadPool *pool) in thread_pool_free()
444 void thread_pool_submit(ThreadPool *pool, ThreadPoolFunc *func, in thread_pool_submit()
465 void thread_pool_submit_immediate(ThreadPool *pool, ThreadPoolFunc *func, in thread_pool_submit_immediate()
472 void thread_pool_wait(ThreadPool *pool) in thread_pool_wait()
482 bool thread_pool_set_max_threads(ThreadPool *pool, in thread_pool_set_max_threads()
490 bool thread_pool_adjust_max_threads_to_work(ThreadPool *pool) in thread_pool_adjust_max_threads_to_work()