Lines Matching refs:loop
143 int uv__loop_configure(uv_loop_t* loop, uv_loop_option option, va_list ap);
145 void uv__loop_close(uv_loop_t* loop);
162 int uv__udp_init_ex(uv_loop_t* loop,
209 void uv__work_submit(uv_loop_t* loop,
225 int uv__next_timeout(const uv_loop_t* loop);
226 void uv__run_timers(uv_loop_t* loop);
233 #define uv__has_active_reqs(loop) \ argument
234 ((loop)->active_reqs.count > 0)
236 #define uv__req_register(loop) \ argument
238 (loop)->active_reqs.count++; \
242 #define uv__req_unregister(loop) \ argument
244 assert(uv__has_active_reqs(loop)); \
245 (loop)->active_reqs.count--; \
249 #define uv__has_active_handles(loop) \ argument
250 ((loop)->active_handles > 0)
254 (h)->loop->active_handles++; \
260 (h)->loop->active_handles--; \
323 (h)->loop = (loop_); \
349 #define uv__req_init(loop, req, typ) \ argument
352 uv__req_register(loop); \
356 #define uv__get_internal_fields(loop) \ argument
357 ((uv__loop_internal_fields_t*) loop->internal_fields)
359 #define uv__get_loop_metrics(loop) \ argument
360 (&uv__get_internal_fields(loop)->loop_metrics)
362 #define uv__metrics_inc_loop_count(loop) \ argument
364 uv__get_loop_metrics(loop)->metrics.loop_count++; \
367 #define uv__metrics_inc_events(loop, e) \ argument
369 uv__get_loop_metrics(loop)->metrics.events += (e); \
372 #define uv__metrics_inc_events_waiting(loop, e) \ argument
374 uv__get_loop_metrics(loop)->metrics.events_waiting += (e); \
396 void uv__metrics_update_idle_time(uv_loop_t* loop);
397 void uv__metrics_set_provider_entry_time(uv_loop_t* loop);