Home
last modified time | relevance | path

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

/external/libevent/include/event2/
Devent_compat.h188 event_set((ev), (x), EV_SIGNAL|EV_PERSIST, (cb), (arg))
214 event_set((ev), (x), EV_SIGNAL|EV_PERSIST, (cb), (arg))
216 #define signal_pending(ev, tv) event_pending((ev), EV_SIGNAL, (tv))
Devent.h930 #define EV_SIGNAL 0x08 macro
985 event_assign((ev), (b), (x), EV_SIGNAL|EV_PERSIST, cb, (arg))
987 event_new((b), (x), EV_SIGNAL|EV_PERSIST, (cb), (arg))
989 #define evsignal_pending(ev, tv) event_pending((ev), EV_SIGNAL, (tv))
/external/libevent/
Devmap.c457 if (evsel->add(base, ev->ev_fd, 0, EV_SIGNAL, NULL) in evmap_signal_add_()
482 if (evsel->del(base, ev->ev_fd, 0, EV_SIGNAL, NULL) == -1) in evmap_signal_del_()
503 event_active_nolock_(ev, EV_SIGNAL, ncalls); in evmap_signal_active_()
635 if (evsel->add(base, signum, 0, EV_SIGNAL, NULL) == -1)
872 if (events & (EV_READ|EV_SIGNAL)) {
874 (events & (EV_ET|EV_PERSIST|EV_SIGNAL));
878 (events & (EV_ET|EV_PERSIST|EV_SIGNAL));
882 (events & (EV_ET|EV_PERSIST|EV_SIGNAL));
918 if (events & (EV_READ|EV_SIGNAL)) {
919 if (!(change->old_events & (EV_READ | EV_SIGNAL)))
[all …]
Dselect.c257 EVUTIL_ASSERT((events & EV_SIGNAL) == 0); in select_add()
304 EVUTIL_ASSERT((events & EV_SIGNAL) == 0); in select_del()
Dchangelist-internal.h75 #define EV_CHANGE_SIGNAL EV_SIGNAL
Dpoll.c224 EVUTIL_ASSERT((events & EV_SIGNAL) == 0); in poll_add()
285 EVUTIL_ASSERT((events & EV_SIGNAL) == 0); in poll_del()
Devent.c2016 if (events & (EV_SIGNAL|EV_PERSIST)) in event_base_once()
2025 if ((events & (EV_TIMEOUT|EV_SIGNAL|EV_READ|EV_WRITE|EV_CLOSED)) == EV_TIMEOUT) { in event_base_once()
2085 if (events & EV_SIGNAL) { in event_assign()
2338 flags |= (ev->ev_events & (EV_READ|EV_WRITE|EV_CLOSED|EV_SIGNAL)); in event_pending()
2344 event &= (EV_TIMEOUT|EV_READ|EV_WRITE|EV_CLOSED|EV_SIGNAL); in event_pending()
2590 (ev->ev_events & EV_SIGNAL) in event_add_nolock_()
2597 if ((ev->ev_events & (EV_READ|EV_WRITE|EV_CLOSED|EV_SIGNAL)) && in event_add_nolock_()
2601 else if (ev->ev_events & EV_SIGNAL) in event_add_nolock_()
2644 if (ev->ev_events & EV_SIGNAL) { in event_add_nolock_()
2801 if (ev->ev_events & EV_SIGNAL) { in event_del_nolock_()
[all …]
Dwin32select.c226 if ((events & EV_SIGNAL) && win32op->signals_are_broken) in win32_add()
Dkqueue.c392 which |= EV_SIGNAL; in kq_dispatch()
DChangeLog-2.0533 …o Warn when using the error-prone EV_SIGNAL interface in an error-prone way. Also, fix a couple o…
/external/libevent/test/
Dregress.c1706 r = event_assign(&ev, NULL, -1, EV_SIGNAL|EV_READ, dummy_read_cb, NULL); in test_bad_assign()
3317 evsig = event_new(base, SIGHUP, EV_SIGNAL, tabf_cb, &es); in test_active_by_fd()
3347 tt_int_op(es, ==, EV_SIGNAL | 0x10000); in test_active_by_fd()