Searched refs:pause_reqs (Results 1 – 1 of 1) sorted by relevance
53 static uv_work_t pause_reqs[4]; variable54 static uv_sem_t pause_sems[ARRAY_SIZE(pause_reqs)];58 uv_sem_wait(pause_sems + (req - pause_reqs)); in work_cb()63 uv_sem_destroy(pause_sems + (req - pause_reqs)); in done_cb()75 (unsigned long)ARRAY_SIZE(pause_reqs)); in saturate_threadpool()79 for (i = 0; i < ARRAY_SIZE(pause_reqs); i += 1) { in saturate_threadpool()81 ASSERT_OK(uv_queue_work(loop, pause_reqs + i, work_cb, done_cb)); in saturate_threadpool()89 for (i = 0; i < ARRAY_SIZE(pause_reqs); i += 1) in unblock_threadpool()
Completed in 6 milliseconds