• Home
  • Raw
  • Download

Lines Matching refs:Handlers

107 } Handlers[NSIG];  variable
253 _Py_atomic_store_relaxed(&Handlers[sig_num].tripped, 1); in trip_signal()
508 old_handler = Handlers[signalnum].func; in signal_signal_impl()
510 Handlers[signalnum].func = handler; in signal_signal_impl()
543 old_handler = Handlers[signalnum].func; in signal_getsignal_impl()
1386 _Py_atomic_store_relaxed(&Handlers[0].tripped, 0); in PyInit__signal()
1390 _Py_atomic_store_relaxed(&Handlers[i].tripped, 0); in PyInit__signal()
1392 Handlers[i].func = DefaultHandler; in PyInit__signal()
1394 Handlers[i].func = IgnoreHandler; in PyInit__signal()
1396 Handlers[i].func = Py_None; /* None of our business */ in PyInit__signal()
1397 Py_INCREF(Handlers[i].func); in PyInit__signal()
1399 if (Handlers[SIGINT].func == DefaultHandler) { in PyInit__signal()
1402 Py_SETREF(Handlers[SIGINT].func, IntHandler); in PyInit__signal()
1612 func = Handlers[i].func; in finisignal()
1613 _Py_atomic_store_relaxed(&Handlers[i].tripped, 0); in finisignal()
1614 Handlers[i].func = NULL; in finisignal()
1673 if (_Py_atomic_load_relaxed(&Handlers[i].tripped)) { in _PyErr_CheckSignals()
1676 _Py_atomic_store_relaxed(&Handlers[i].tripped, 0); in _PyErr_CheckSignals()
1679 result = PyEval_CallObject(Handlers[i].func, in _PyErr_CheckSignals()
1704 if ((Handlers[SIGINT].func != IgnoreHandler) && in PyErr_SetInterrupt()
1705 (Handlers[SIGINT].func != DefaultHandler)) { in PyErr_SetInterrupt()
1728 if (_Py_atomic_load_relaxed(&Handlers[SIGINT].tripped)) { in PyOS_InterruptOccurred()
1733 _Py_atomic_store_relaxed(&Handlers[SIGINT].tripped, 0); in PyOS_InterruptOccurred()
1747 _Py_atomic_store_relaxed(&Handlers[i].tripped, 0); in _clear_pending_signals()