Home
last modified time | relevance | path

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

/external/libevent/
Dkqueue.c441 kq_sig_add(struct event_base *base, int nsignal, short old, short events, void *p) in kq_sig_add() argument
448 EVUTIL_ASSERT(nsignal >= 0 && nsignal < NSIG); in kq_sig_add()
451 kev.ident = nsignal; in kq_sig_add()
466 if (evsig_set_handler_(base, nsignal, in kq_sig_add()
467 nsignal == SIGCHLD ? SIG_DFL : SIG_IGN) == -1) in kq_sig_add()
474 kq_sig_del(struct event_base *base, int nsignal, short old, short events, void *p) in kq_sig_del() argument
482 EVUTIL_ASSERT(nsignal >= 0 && nsignal < NSIG); in kq_sig_del()
485 kev.ident = nsignal; in kq_sig_del()
495 if (evsig_restore_handler_(base, nsignal) == -1) in kq_sig_del()
/external/mesa3d/include/c11/
Dthreads_win32.h187 int nsignal = 0; in impl_cond_do_signal() local
196 cond->to_unblock += nsignal = cond->blocked; in impl_cond_do_signal()
199 nsignal = 1; in impl_cond_do_signal()
210 nsignal = cond->to_unblock = cond->blocked; in impl_cond_do_signal()
213 nsignal = cond->to_unblock = 1; in impl_cond_do_signal()
219 if (0 < nsignal) in impl_cond_do_signal()
220 ReleaseSemaphore(cond->sem_queue, nsignal, NULL); in impl_cond_do_signal()
/external/virglrenderer/src/gallium/include/c11/
Dthreads_win32.h173 int nsignal = 0; in impl_cond_do_signal() local
182 cond->to_unblock += nsignal = cond->blocked; in impl_cond_do_signal()
185 nsignal = 1; in impl_cond_do_signal()
196 nsignal = cond->to_unblock = cond->blocked; in impl_cond_do_signal()
199 nsignal = cond->to_unblock = 1; in impl_cond_do_signal()
205 if (0 < nsignal) in impl_cond_do_signal()
206 ReleaseSemaphore(cond->sem_queue, nsignal, NULL); in impl_cond_do_signal()