Searched refs:EV_SIGNAL (Results 1 – 14 of 14) sorted by relevance
/external/libevent/include/event2/ |
D | event_compat.h | 178 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))
|
D | event.h | 737 #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/ |
D | evmap.c | 433 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) {
|
D | changelist-internal.h | 74 #define EV_CHANGE_SIGNAL EV_SIGNAL
|
D | select.c | 246 EVUTIL_ASSERT((events & EV_SIGNAL) == 0); in select_add() 293 EVUTIL_ASSERT((events & EV_SIGNAL) == 0); in select_del()
|
D | event.c | 876 } 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 …]
|
D | poll.c | 218 EVUTIL_ASSERT((events & EV_SIGNAL) == 0); in poll_add() 279 EVUTIL_ASSERT((events & EV_SIGNAL) == 0); in poll_del()
|
D | kqueue.c | 376 which |= EV_SIGNAL; in kq_dispatch()
|
D | win32select.c | 220 if ((events & EV_SIGNAL) && win32op->signals_are_broken) in win32_add()
|
D | ChangeLog | 597 …o Warn when using the error-prone EV_SIGNAL interface in an error-prone way. Also, fix a couple o…
|
/external/tlsdate/src/events/ |
D | sigchld.c | 131 EV_SIGNAL| (persist ? EV_PERSIST : 0), in setup_sigchld_event()
|
/external/tlsdate/src/ |
D | tlsdated.c | 423 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()
|
D | util.c | 411 if (event_pending (e, EV_READ|EV_WRITE|EV_TIMEOUT|EV_SIGNAL, NULL)) in trigger_event()
|
D | tlsdated-unittest.c | 152 if (fd >= 0 && ! (event_get_events (e) & EV_SIGNAL)) in FIXTURE_TEARDOWN()
|