• Home
  • Raw
  • Download

Lines Matching refs:watcher

33 lws_ev_hrtimer_cb(struct ev_loop *loop, struct ev_timer *watcher, int revents)  in lws_ev_hrtimer_cb()  argument
35 struct lws_pt_eventlibs_libev *ptpr = lws_container_of(watcher, in lws_ev_hrtimer_cb()
88 lws_accept_cb(struct ev_loop *loop, struct ev_io *watcher, int revents) in lws_accept_cb() argument
90 struct lws_io_watcher_libev *lws_io = lws_container_of(watcher, in lws_accept_cb()
91 struct lws_io_watcher_libev, watcher); in lws_accept_cb()
101 eventfd.fd = watcher->fd; in lws_accept_cb()
114 wsi = wsi_from_fd(context, watcher->fd); in lws_accept_cb()
124 lws_ev_sigint_cb(struct ev_loop *loop, struct ev_signal *watcher, int revents) in lws_ev_sigint_cb() argument
126 struct lws_context *context = watcher->data; in lws_ev_sigint_cb()
129 context->eventlib_signal_cb((void *)watcher, watcher->signum); in lws_ev_sigint_cb()
150 ev_io_init(&vh_to_priv_ev(vh)->w_accept.watcher, in elops_listen_init_ev()
152 ev_io_start(ptpr->io_loop, &vh_to_priv_ev(vh)->w_accept.watcher); in elops_listen_init_ev()
162 struct ev_signal *w_sigint = &ptpr->w_sigint.watcher; in elops_init_pt_ev()
249 ev_io_stop(ptpr->io_loop, &vh_to_priv_ev(vh)->w_accept.watcher); in elops_listen_destroy_ev()
268 ev_signal_stop(ptpr->io_loop, &ptpr->w_sigint.watcher); in elops_destroy_pt_ev()
299 ev_io_init(&w->w_read.watcher, lws_accept_cb, fd, EV_READ); in elops_accept_ev()
300 ev_io_init(&w->w_write.watcher, lws_accept_cb, fd, EV_WRITE); in elops_accept_ev()
324 ev_io_start(ptpr->io_loop, &w->w_write.watcher); in elops_io_ev()
326 ev_io_start(ptpr->io_loop, &w->w_read.watcher); in elops_io_ev()
329 ev_io_stop(ptpr->io_loop, &w->w_write.watcher); in elops_io_ev()
331 ev_io_stop(ptpr->io_loop, &w->w_read.watcher); in elops_io_ev()
397 ev_io_init(&w->w_read.watcher, lws_accept_cb, fd, EV_READ); in elops_init_vhost_listen_wsi_ev()
412 ev_io_stop(ptpr->io_loop, &w->w_read.watcher); in elops_destroy_wsi_ev()
413 ev_io_stop(ptpr->io_loop, &w->w_write.watcher); in elops_destroy_wsi_ev()