mirror of https://github.com/mkerrisk/man-pages
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:
parent
34ef249eb7
commit
2e72e99169
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue