signal.sigwait()

signal.sigwait(sigset)

Suspend execution of the calling thread until the delivery of one of the signals specified in the signal set sigset. The function accepts the signal (removes it from the pending list of signals), and returns the signal number.

Availability: Unix (see the man page sigwait(3) for further information).

See also pause(), pthread_sigmask(), sigpending(), sigwaitinfo() and sigtimedwait().

New in version 3.3.

doc_python
2016-10-07 17:42:01
Comments
Leave a Comment

Please login to continue.