Searched refs:max_busy_tasks (Results 1 – 2 of 2) sorted by relevance
32 int max_busy_tasks; member42 assert(pool->busy_tasks < pool->max_busy_tasks); in aio_task_co()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()97 AioTaskPool *coroutine_fn aio_task_pool_new(int max_busy_tasks) in aio_task_pool_new() argument101 assert(max_busy_tasks > 0); in aio_task_pool_new()104 pool->max_busy_tasks = max_busy_tasks; in aio_task_pool_new()
37 AioTaskPool *coroutine_fn aio_task_pool_new(int max_busy_tasks);