Home
last modified time | relevance | path

Searched refs:ev_signal_pair (Results 1 – 3 of 3) sorted by relevance

/external/libevent/
Dsignal.c124 evsig_base_fd = base->sig.ev_signal_pair[0]; in evsig_set_base()
177 AF_UNIX, SOCK_STREAM, 0, base->sig.ev_signal_pair) == -1) { in evsig_init()
188 evutil_make_socket_closeonexec(base->sig.ev_signal_pair[0]); in evsig_init()
189 evutil_make_socket_closeonexec(base->sig.ev_signal_pair[1]); in evsig_init()
193 evutil_make_socket_nonblocking(base->sig.ev_signal_pair[0]); in evsig_init()
194 evutil_make_socket_nonblocking(base->sig.ev_signal_pair[1]); in evsig_init()
196 event_assign(&base->sig.ev_signal, base, base->sig.ev_signal_pair[1], in evsig_init()
296 evsig_base_fd = base->sig.ev_signal_pair[0]; in evsig_add()
421 if (base->sig.ev_signal_pair[0] != -1) { in evsig_dealloc()
422 evutil_closesocket(base->sig.ev_signal_pair[0]); in evsig_dealloc()
[all …]
Devsignal-internal.h43 evutil_socket_t ev_signal_pair[2]; member
Devent.c571 base->sig.ev_signal_pair[0] = -1; in event_base_new_with_config()
572 base->sig.ev_signal_pair[1] = -1; in event_base_new_with_config()
827 if (base->sig.ev_signal_pair[0] != -1) in event_reinit()
828 EVUTIL_CLOSESOCKET(base->sig.ev_signal_pair[0]); in event_reinit()
829 if (base->sig.ev_signal_pair[1] != -1) in event_reinit()
830 EVUTIL_CLOSESOCKET(base->sig.ev_signal_pair[1]); in event_reinit()