Home
last modified time | relevance | path

Searched refs:EV_SIGNAL (Results 1 – 14 of 14) sorted by relevance

/external/libevent/include/event2/
Devent_compat.h178 event_set((ev), (x), EV_SIGNAL|EV_PERSIST, (cb), (arg))
204 event_set((ev), (x), EV_SIGNAL|EV_PERSIST, (cb), (arg))
206 #define signal_pending(ev, tv) event_pending((ev), EV_SIGNAL, (tv))
Devent.h737 #define EV_SIGNAL 0x08 macro
771 event_assign((ev), (b), (x), EV_SIGNAL|EV_PERSIST, cb, (arg))
773 event_new((b), (x), EV_SIGNAL|EV_PERSIST, (cb), (arg))
775 #define evsignal_pending(ev, tv) event_pending((ev), EV_SIGNAL, (tv))
/external/libevent/
Devmap.c433 if (evsel->add(base, ev->ev_fd, 0, EV_SIGNAL, NULL) in evmap_signal_add()
456 if (evsel->del(base, ev->ev_fd, 0, EV_SIGNAL, NULL) == -1) in evmap_signal_del()
476 event_active_nolock(ev, EV_SIGNAL, ncalls); in evmap_signal_active()
664 if (events & (EV_READ|EV_SIGNAL)) { in event_changelist_add()
666 (events & (EV_ET|EV_PERSIST|EV_SIGNAL)); in event_changelist_add()
670 (events & (EV_ET|EV_PERSIST|EV_SIGNAL)); in event_changelist_add()
709 if (events & (EV_READ|EV_SIGNAL)) { in event_changelist_del()
710 if (!(change->old_events & (EV_READ | EV_SIGNAL)) && in event_changelist_del()
788 if (ev->ev_events & EV_SIGNAL) {
Dchangelist-internal.h74 #define EV_CHANGE_SIGNAL EV_SIGNAL
Dselect.c246 EVUTIL_ASSERT((events & EV_SIGNAL) == 0); in select_add()
293 EVUTIL_ASSERT((events & EV_SIGNAL) == 0); in select_del()
Devent.c876 } else if (ev->ev_events & EV_SIGNAL) { in event_reinit()
1699 if (events & (EV_SIGNAL|EV_PERSIST)) in event_base_once()
1754 if (events & EV_SIGNAL) { in event_assign()
1880 flags |= (ev->ev_events & (EV_READ|EV_WRITE|EV_SIGNAL)); in event_pending()
1886 event &= (EV_TIMEOUT|EV_READ|EV_WRITE|EV_SIGNAL); in event_pending()
2081 if (base->current_event == ev && (ev->ev_events & EV_SIGNAL) in event_add_internal()
2088 if ((ev->ev_events & (EV_READ|EV_WRITE|EV_SIGNAL)) && in event_add_internal()
2092 else if (ev->ev_events & EV_SIGNAL) in event_add_internal()
2136 if (ev->ev_events & EV_SIGNAL) { in event_add_internal()
2245 if (ev->ev_events & EV_SIGNAL) { in event_del_internal()
[all …]
Dpoll.c218 EVUTIL_ASSERT((events & EV_SIGNAL) == 0); in poll_add()
279 EVUTIL_ASSERT((events & EV_SIGNAL) == 0); in poll_del()
Dkqueue.c376 which |= EV_SIGNAL; in kq_dispatch()
Dwin32select.c220 if ((events & EV_SIGNAL) && win32op->signals_are_broken) in win32_add()
DChangeLog597 …o Warn when using the error-prone EV_SIGNAL interface in an error-prone way. Also, fix a couple o…
/external/tlsdate/src/events/
Dsigchld.c131 EV_SIGNAL| (persist ? EV_PERSIST : 0), in setup_sigchld_event()
/external/tlsdate/src/
Dtlsdated.c423 if (fd >= 0 && ! (event_get_events (e) & EV_SIGNAL)) in cleanup_main()
532 struct event *event = event_new (base, SIGTERM, EV_SIGNAL|EV_PERSIST, in main()
Dutil.c411 if (event_pending (e, EV_READ|EV_WRITE|EV_TIMEOUT|EV_SIGNAL, NULL)) in trigger_event()
Dtlsdated-unittest.c152 if (fd >= 0 && ! (event_get_events (e) & EV_SIGNAL)) in FIXTURE_TEARDOWN()