Lines Matching refs:Handlers
87 } Handlers[NSIG]; variable
169 Handlers[sig_num].tripped = 1; in trip_signal()
321 old_handler = Handlers[sig_num].func; in signal_signal()
323 Handlers[sig_num].func = obj; in signal_signal()
354 old_handler = Handlers[sig_num].func; in signal_getsignal()
608 Handlers[0].tripped = 0; in initsignal()
612 Handlers[i].tripped = 0; in initsignal()
614 Handlers[i].func = DefaultHandler; in initsignal()
616 Handlers[i].func = IgnoreHandler; in initsignal()
618 Handlers[i].func = Py_None; /* None of our business */ in initsignal()
619 Py_INCREF(Handlers[i].func); in initsignal()
621 if (Handlers[SIGINT].func == DefaultHandler) { in initsignal()
624 Py_SETREF(Handlers[SIGINT].func, IntHandler); in initsignal()
869 func = Handlers[i].func; in finisignal()
870 Handlers[i].tripped = 0; in finisignal()
871 Handlers[i].func = NULL; in finisignal()
922 if (Handlers[i].tripped) { in PyErr_CheckSignals()
925 Handlers[i].tripped = 0; in PyErr_CheckSignals()
928 result = PyEval_CallObject(Handlers[i].func, in PyErr_CheckSignals()
968 if (Handlers[SIGINT].tripped) { in PyOS_InterruptOccurred()
973 Handlers[SIGINT].tripped = 0; in PyOS_InterruptOccurred()
987 Handlers[i].tripped = 0; in _clear_pending_signals()