Home
last modified time | relevance | path

Searched refs:signalnum (Results 1 – 5 of 5) sorted by relevance

/third_party/python/Modules/clinic/
Dsignalmodule.c.h17 signal_default_int_handler_impl(PyObject *module, int signalnum,
24 int signalnum; in signal_default_int_handler() local
30 signalnum = _PyLong_AsInt(args[0]); in signal_default_int_handler()
31 if (signalnum == -1 && PyErr_Occurred()) { in signal_default_int_handler()
35 return_value = signal_default_int_handler_impl(module, signalnum, frame); in signal_default_int_handler()
110 signal_raise_signal_impl(PyObject *module, int signalnum);
116 int signalnum; in signal_raise_signal() local
118 signalnum = _PyLong_AsInt(arg); in signal_raise_signal()
119 if (signalnum == -1 && PyErr_Occurred()) { in signal_raise_signal()
122 return_value = signal_raise_signal_impl(module, signalnum); in signal_raise_signal()
[all …]
/third_party/python/Modules/
Dsignalmodule.c240 signal_default_int_handler_impl(PyObject *module, int signalnum, in signal_default_int_handler_impl() argument
456 signal_raise_signal_impl(PyObject *module, int signalnum) in signal_raise_signal_impl() argument
462 err = raise(signalnum); in signal_raise_signal_impl()
490 signal_signal_impl(PyObject *module, int signalnum, PyObject *handler) in signal_signal_impl() argument
498 switch (signalnum) { in signal_signal_impl()
523 if (signalnum < 1 || signalnum >= NSIG) { in signal_signal_impl()
548 if (PyOS_setsig(signalnum, func) == SIG_ERR) { in signal_signal_impl()
553 old_handler = get_handler(signalnum); in signal_signal_impl()
554 set_handler(signalnum, Py_NewRef(handler)); in signal_signal_impl()
581 signal_getsignal_impl(PyObject *module, int signalnum) in signal_getsignal_impl() argument
[all …]
/third_party/python/Lib/
Dsignal.py55 def signal(signalnum, handler): argument
56 handler = _signal.signal(_enum_to_int(signalnum), _enum_to_int(handler))
61 def getsignal(signalnum): argument
62 handler = _signal.getsignal(signalnum)
/third_party/python/Doc/library/
Dsignal.rst306 .. function:: getsignal(signalnum)
308 Return the current signal handler for the signal *signalnum*. The returned value
317 .. function:: strsignal(signalnum)
319 Return the system description of the signal *signalnum*, such as
367 .. function:: pthread_kill(thread_id, signalnum)
369 Send the signal *signalnum* to the thread *thread_id*, another thread in the
381 If *signalnum* is 0, then no signal is sent, but error checking is still
384 .. audit-event:: signal.pthread_kill thread_id,signalnum signal.pthread_kill
501 .. function:: siginterrupt(signalnum, flag)
504 calls will be restarted when interrupted by signal *signalnum*, otherwise
[all …]
/third_party/glib/gio/
Dgsubprocess.c950 gint signalnum; member
962 kill (signal_record->subprocess->pid, signal_record->signalnum); in g_subprocess_actually_send_signal()
973 gint signalnum) in g_subprocess_dispatch_signal() argument
975 SignalRecord signal_record = { g_object_ref (subprocess), signalnum }; in g_subprocess_dispatch_signal()