Lines Matching refs:ev_x_cur
64 static struct event_base *ev_x_cur; variable
97 if (ev_x_cur) in event_init()
98 ev_x_cur = (struct event_base *)ev_loop_new (EVFLAG_AUTO); in event_init()
100 ev_x_cur = (struct event_base *)ev_default_loop (EVFLAG_AUTO); in event_init()
102 … (("libev: multiple event bases not supported when not compiled with EV_MULTIPLICITY", !ev_x_cur)); in event_init()
104 ev_x_cur = (struct event_base *)(long)ev_default_loop (EVFLAG_AUTO); in event_init()
107 return ev_x_cur; in event_init()
139 return event_base_dispatch (ev_x_cur); in event_dispatch()
151 return event_base_loop (ev_x_cur, flags); in event_loop()
156 return event_base_loopexit (ev_x_cur, tv); in event_loopexit()
215 ev->ev_base = ev_x_cur; /* not threadsafe, but it's how libevent works */ in event_set()
227 return event_base_once (ev_x_cur, fd, events, cb, arg, tv); in event_once()
339 return event_base_priority_init (ev_x_cur, npri); in event_priority_init()