mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
Issue #12303: Add sigwaitinfo() and sigtimedwait() to the signal module.
This commit is contained in:
parent
bb66972c0b
commit
bc808224b6
8 changed files with 295 additions and 23 deletions
|
@ -169,6 +169,10 @@ signal
|
|||
* :func:`~signal.pthread_kill`: send a signal to a thread ;
|
||||
* :func:`~signal.sigpending`: examine pending functions ;
|
||||
* :func:`~signal.sigwait`: wait a signal.
|
||||
* :func:`~signal.sigwaitinfo`: wait for a signal, returning detailed
|
||||
information about it.
|
||||
* :func:`~signal.sigtimedwait`: like :func:`~signal.sigwaitinfo` but with a
|
||||
timeout.
|
||||
|
||||
* The signal handler writes the signal number as a single byte instead of
|
||||
a nul byte into the wakeup file descriptor. So it is possible to wait more
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue