Home
last modified time | relevance | path

Searched refs:io_loop (Results 1 – 7 of 7) sorted by relevance

/external/libwebsockets/lib/event-libs/libev/
Dlibev.c38 ev_timer_start(pt->ev.io_loop, &pt->ev.hrtimer); in lws_ev_hrtimer_cb()
66 ev_timer_start(pt->ev.io_loop, &pt->ev.hrtimer); in lws_ev_idle_cb()
109 ev_idle_start(pt->ev.io_loop, &pt->ev.idle); in lws_accept_cb()
149 pt->ev.io_loop = loop; in elops_init_pt_ev()
229 ev_io_stop(pt->ev.io_loop, &vh->w_accept.ev.watcher); in elops_destroy_pt_ev()
235 ev_timer_stop(pt->ev.io_loop, &pt->ev.hrtimer); in elops_destroy_pt_ev()
236 ev_idle_stop(pt->ev.io_loop, &pt->ev.idle); in elops_destroy_pt_ev()
239 ev_signal_stop(pt->ev.io_loop, &pt->w_sigint.ev.watcher); in elops_destroy_pt_ev()
241 ev_loop_destroy(pt->ev.io_loop); in elops_destroy_pt_ev()
283 if (!pt->ev.io_loop || pt->is_destroyed) in elops_io_ev()
[all …]
Dprivate-lib-event-libs-libev.h37 struct ev_loop *io_loop; member
/external/libwebsockets/lib/event-libs/libevent/
Dlibevent.c161 event_base_loopbreak(pt->event.io_loop); in lws_event_sigint_cb()
185 pt->event.io_loop = loop; in elops_init_pt_event()
256 wsi->w_read.event.watcher = event_new(pt->event.io_loop, fd, in elops_accept_event()
258 wsi->w_write.event.watcher = event_new(pt->event.io_loop, fd, in elops_accept_event()
269 if (!pt->event.io_loop || wsi->context->being_destroyed || in elops_io_event()
295 if (context->pt[tsi].event.io_loop) in elops_run_pt_event()
296 event_base_dispatch(context->pt[tsi].event.io_loop); in elops_run_pt_event()
307 if (!pt->event.io_loop) in elops_destroy_pt_event()
330 event_base_free(pt->event.io_loop); in elops_destroy_pt_event()
386 wsi->w_read.event.watcher = event_new(pt->event.io_loop, fd, in elops_init_vhost_listen_wsi_event()
[all …]
Dprivate-lib-event-libs-libevent.h28 struct event_base *io_loop; member
/external/libwebsockets/lib/event-libs/libuv/
Dlibuv.c232 if (pt->uv.io_loop && !pt->event_loop_foreign) in lws_uv_close_cb_sa()
233 uv_stop(pt->uv.io_loop); in lws_uv_close_cb_sa()
287 if (context->pt[tsi].uv.io_loop) in lws_libuv_stop_without_kill()
288 uv_stop(context->pt[tsi].uv.io_loop); in lws_libuv_stop_without_kill()
296 if (context->pt[tsi].uv.io_loop) in lws_uv_getloop()
297 return context->pt[tsi].uv.io_loop; in lws_uv_getloop()
504 while (budget-- && (m = uv_run(pt->uv.io_loop, in elops_destroy_context1_uv()
529 if (!pt->event_loop_foreign && pt->uv.io_loop) { in elops_destroy_context2_uv()
532 uv_stop(pt->uv.io_loop); in elops_destroy_context2_uv()
535 uv_loop_close(pt->uv.io_loop); in elops_destroy_context2_uv()
[all …]
Dprivate-lib-event-libs-libuv.h50 uv_loop_t *io_loop; member
/external/libwebsockets/lib/event-libs/
DREADME.md61 uv_loop_t *io_loop;