select.2: Clarify equivalent pslect() code in terms of threads

s/sigprogmask/pthread_sigmask/

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2012-08-19 22:03:42 +02:00
parent 34ef249eb7
commit 2e72e99169
1 changed files with 2 additions and 2 deletions

View File

@ -205,9 +205,9 @@ executing the following calls:
sigset_t origmask;
sigprocmask(SIG_SETMASK, &sigmask, &origmask);
pthread_sigmask(SIG_SETMASK, &sigmask, &origmask);
ready = select(nfds, &readfds, &writefds, &exceptfds, timeout);
sigprocmask(SIG_SETMASK, &origmask, NULL);
pthread_sigmask(SIG_SETMASK, &origmask, NULL);
.fi
.PP
The reason that