Searched refs:nsignal (Results 1 – 2 of 2) sorted by relevance
/external/libevent/ |
D | kqueue.c | 421 kq_sig_add(struct event_base *base, int nsignal, short old, short events, void *p) in kq_sig_add() argument 428 EVUTIL_ASSERT(nsignal >= 0 && nsignal < NSIG); in kq_sig_add() 431 kev.ident = nsignal; in kq_sig_add() 443 if (_evsig_set_handler(base, nsignal, kq_sighandler) == -1) in kq_sig_add() 450 kq_sig_del(struct event_base *base, int nsignal, short old, short events, void *p) in kq_sig_del() argument 458 EVUTIL_ASSERT(nsignal >= 0 && nsignal < NSIG); in kq_sig_del() 461 kev.ident = nsignal; in kq_sig_del() 471 if (_evsig_restore_handler(base, nsignal) == -1) in kq_sig_del()
|
/external/mesa3d/include/c11/ |
D | threads_win32.h | 173 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()
|