Lines Matching defs:loop
33 static unsigned long ticks; /* event loop ticks */
89 uv_loop_t* loop;
92 loop = uv_default_loop();
94 ASSERT_OK(uv_timer_init(loop, &timer_handle));
96 ASSERT_OK(uv_check_init(loop, &check_handle));
98 ASSERT_OK(uv_tcp_init(loop, &server_handle));
99 ASSERT_OK(uv_tcp_init(loop, &client_handle));
100 ASSERT_OK(uv_tcp_init(loop, &peer_handle));
107 ASSERT_OK(uv_run(loop, UV_RUN_DEFAULT));
109 /* This is somewhat inexact but the idea is that the event loop should not
115 MAKE_VALGRIND_HAPPY(loop);