mirror of https://github.com/mkerrisk/man-pages
Describe behavior when multiple threads are blocked in
sigwaitinfo()/sigtimedwait().
This commit is contained in:
parent
e95c17261a
commit
124fa3b75a
|
@ -20,7 +20,7 @@
|
|||
.\" Formatted or processed versions of this manual, if unaccompanied by
|
||||
.\" the source, must acknowledge the copyright and authors of this work.
|
||||
.\"
|
||||
.TH SIGWAITINFO 2 2007-07-26 "Linux" "Linux Programmer's Manual"
|
||||
.TH SIGWAITINFO 2 2008-06-02 "Linux" "Linux Programmer's Manual"
|
||||
.SH NAME
|
||||
sigwaitinfo, sigtimedwait \- synchronously wait for queued signals
|
||||
.SH SYNOPSIS
|
||||
|
@ -142,6 +142,15 @@ the signal being delivered to a thread other than the one calling
|
|||
or
|
||||
.BR sigtimedwait ()).
|
||||
.PP
|
||||
If multiple threads of a process are blocked
|
||||
waiting for the same signal(s) in
|
||||
.BR sigwaitinfo ()
|
||||
or
|
||||
.BR sigtimedwait (),
|
||||
then exactly one of the threads will actually receive the
|
||||
signal when it is generated;
|
||||
which of the threads receives the signal is indeterminate.
|
||||
|
||||
POSIX leaves the meaning of a NULL value for the
|
||||
.I timeout
|
||||
argument of
|
||||
|
|
Loading…
Reference in New Issue