Home
last modified time | relevance | path

Searched refs:cur_work (Results 1 – 1 of 1) sorted by relevance

/openbmc/qemu/util/
H A Dthread-pool.c380 size_t cur_work; member
404 assert(pool->cur_work > 0); in thread_pool_func()
405 pool->cur_work--; in thread_pool_func()
407 if (pool->cur_work == 0) { in thread_pool_func()
416 pool->cur_work = 0; in thread_pool_new()
454 pool->cur_work++; in thread_pool_submit()
476 while (pool->cur_work > 0) { in thread_pool_wait()
494 return thread_pool_set_max_threads(pool, pool->cur_work); in thread_pool_adjust_max_threads_to_work()