Searched refs:busy_tasks (Results 1 – 1 of 1) sorted by relevance
33 int busy_tasks; member42 assert(pool->busy_tasks < pool->max_busy_tasks); in aio_task_co()43 pool->busy_tasks++; in aio_task_co()47 pool->busy_tasks--; in aio_task_co()63 assert(pool->busy_tasks > 0); in aio_task_pool_wait_one()70 assert(pool->busy_tasks < pool->max_busy_tasks); in aio_task_pool_wait_one()75 if (pool->busy_tasks < pool->max_busy_tasks) { in aio_task_pool_wait_slot()84 while (pool->busy_tasks > 0) { in aio_task_pool_wait_all()125 return pool->busy_tasks == 0; in aio_task_pool_empty()