Lines Matching defs:loop
45 /* Spin for 500 ms to spin loop time out of the delta check. */
82 uv_loop_t loop;
90 ASSERT_OK(uv_loop_init(&loop));
91 ASSERT_OK(uv_loop_configure(&loop, UV_METRICS_IDLE_TIME));
92 ASSERT_OK(uv_timer_init(&loop, &timer));
95 ASSERT_OK(uv_run(&loop, UV_RUN_DEFAULT));
98 idle_time = uv_metrics_idle_time(&loop);
101 * may have been thread contention, causing the event loop to be delayed in
106 close_loop(&loop);
107 ASSERT_OK(uv_loop_close(&loop));
368 * entering the event loop. */
376 * uv_async to tell the event loop thread to process the worker pool QUEUE. */