Lines Matching refs:signalnum
402 signal_signal_impl(PyObject *module, int signalnum, PyObject *handler) in signal_signal_impl() argument
409 switch (signalnum) { in signal_signal_impl()
431 if (signalnum < 1 || signalnum >= NSIG) { in signal_signal_impl()
451 if (PyOS_setsig(signalnum, func) == SIG_ERR) { in signal_signal_impl()
455 old_handler = Handlers[signalnum].func; in signal_signal_impl()
457 Handlers[signalnum].func = handler; in signal_signal_impl()
481 signal_getsignal_impl(PyObject *module, int signalnum) in signal_getsignal_impl() argument
485 if (signalnum < 1 || signalnum >= NSIG) { in signal_getsignal_impl()
490 old_handler = Handlers[signalnum].func; in signal_getsignal_impl()
516 signal_siginterrupt_impl(PyObject *module, int signalnum, int flag) in signal_siginterrupt_impl() argument
519 if (signalnum < 1 || signalnum >= NSIG) { in signal_siginterrupt_impl()
524 if (siginterrupt(signalnum, flag)<0) { in signal_siginterrupt_impl()
1119 int signalnum) in signal_pthread_kill_impl() argument
1124 err = pthread_kill((pthread_t)thread_id, signalnum); in signal_pthread_kill_impl()