mirror of https://github.com/mkerrisk/man-pages
epoll_wait.2: Clarify that signal mask treatment in epoll_pwait() is per-thread
s/sigprocmask()/pthread_sigmask()/ Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
74083180e3
commit
f855dc3c87
|
@ -136,9 +136,9 @@ executing the following calls:
|
|||
|
||||
sigset_t origmask;
|
||||
|
||||
sigprocmask(SIG_SETMASK, &sigmask, &origmask);
|
||||
pthread_sigmask(SIG_SETMASK, &sigmask, &origmask);
|
||||
ready = epoll_wait(epfd, &events, maxevents, timeout);
|
||||
sigprocmask(SIG_SETMASK, &origmask, NULL);
|
||||
pthread_sigmask(SIG_SETMASK, &origmask, NULL);
|
||||
.fi
|
||||
.PP
|
||||
The
|
||||
|
|
Loading…
Reference in New Issue