Lines Matching +full:io +full:- +full:backends
7 * Redistribution and use in source and binary forms, with or without modifica-
18 * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MER-
20 * EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPE-
24 * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTH-
59 /* pre-4.0 compatibility */
82 # define EV_MINPRI (EV_FEATURE_CONFIG ? -2 : 0)
223 EV_IO = EV_READ, /* alias for type-detection */
238 EV_ASYNC = 0x00080000, /* async intra-loop signal */
252 # define EV_CB_INVOKE(watcher,revents) (watcher)->cb (EV_A_ (watcher), (revents))
441 ev_io io; /* private */
464 # define ev_async_pending(w) (+(w)->sent)
473 struct ev_io io;
510 EVFLAG_NOSIGFD = 0, /* compatibility to pre-3.9 */
524 EVBACKEND_ALL = 0x0000003FU, /* all known backends */
525 EVBACKEND_MASK = 0x0000FFFFU /* all future backends */
607 /* when you want to re-use it in the child */
644 * keeps one reference. if you have a long-running watcher you never unregister that
658 EV_API_DECL unsigned int ev_depth (EV_P) EV_THROW; /* #ev_loop enters - #ev_loop leaves */
687 ((ev_watcher *)(void *)(ev))->active = \
688 ((ev_watcher *)(void *)(ev))->pending = 0; \
693 #define ev_io_set(ev,fd_,events_) do { (ev)->fd = (fd_); (ev)->events = (events_) | EV__…
694 #define ev_timer_set(ev,after_,repeat_) do { ((ev_watcher_time *)(ev))->at = (after_); (ev)->r…
695 …fine ev_periodic_set(ev,ofs_,ival_,rcb_) do { (ev)->offset = (ofs_); (ev)->interval = (ival_); (e…
696 #define ev_signal_set(ev,signum_) do { (ev)->signum = (signum_); } while (0)
697 #define ev_child_set(ev,pid_,trace_) do { (ev)->pid = (pid_); (ev)->flags = !!(trace_); } w…
698 …ev_stat_set(ev,path_,interval_) do { (ev)->path = (path_); (ev)->interval = (interval_); (ev)…
699 #define ev_idle_set(ev) /* nop, yes, this is a serious in-joke */
700 #define ev_prepare_set(ev) /* nop, yes, this is a serious in-joke */
701 #define ev_check_set(ev) /* nop, yes, this is a serious in-joke */
702 #define ev_embed_set(ev,other_) do { (ev)->other = (other_); } while (0)
703 #define ev_fork_set(ev) /* nop, yes, this is a serious in-joke */
704 #define ev_cleanup_set(ev) /* nop, yes, this is a serious in-joke */
705 #define ev_async_set(ev) /* nop, yes, this is a serious in-joke */
721 #define ev_is_pending(ev) (0 + ((ev_watcher *)(void *)(ev))->pending) /* ro, tru…
722 #define ev_is_active(ev) (0 + ((ev_watcher *)(void *)(ev))->active) /* ro, true…
724 #define ev_cb_(ev) (ev)->cb /* rw */
725 … (memmove (&ev_cb_ (ev), &((ev_watcher *)(ev))->cb, sizeof (ev_cb_ (ev))), (ev)->cb)
731 # define ev_priority(ev) (+(((ev_watcher *)(void *)(ev))->priority))
732 # define ev_set_priority(ev,pri) ( (ev_watcher *)(void *)(ev))->priority = (pri)
735 #define ev_periodic_at(ev) (+((ev_watcher_time *)(ev))->at)
738 # define ev_set_cb(ev,cb_) (ev_cb_ (ev) = (cb_), memmove (&((ev_watcher *)(ev))->…