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:
Michael Kerrisk 2015-05-02 09:01:26 +02:00
parent 74083180e3
commit f855dc3c87
1 changed files with 2 additions and 2 deletions

View File

@ -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