aboutsummaryrefslogtreecommitdiffstats
path: root/man3/pthread_sigmask.3
diff options
context:
space:
mode:
authorMichael Kerrisk <mtk.manpages@gmail.com>2015-03-22 11:33:35 +0100
committerMichael Kerrisk <mtk.manpages@gmail.com>2015-03-28 23:58:04 +0100
commitbce38798d0f3bb955e781c94e98507d5eb22ff43 (patch)
tree7ee43aa67ce91ca0dad61d93db5853265ca9cfa4 /man3/pthread_sigmask.3
parent3699b154364dca2879c6ef9a4f10abde07ca3e28 (diff)
downloadman-pages-bce38798d0f3bb955e781c94e98507d5eb22ff43.tar.gz
pthread_sigmask.3: Note treatment of signals used internally by NPTL
The glibc implementation silently ignores attempts to block the two real-time signals used by NPTL. Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Diffstat (limited to 'man3/pthread_sigmask.3')
-rw-r--r--man3/pthread_sigmask.38
1 files changed, 8 insertions, 0 deletions
diff --git a/man3/pthread_sigmask.3 b/man3/pthread_sigmask.3
index defef1c313..4fa4eaf24a 100644
--- a/man3/pthread_sigmask.3
+++ b/man3/pthread_sigmask.3
@@ -82,6 +82,14 @@ T} Thread safety MT-Safe
POSIX.1-2001.
.SH NOTES
A new thread inherits a copy of its creator's signal mask.
+
+The glibc
+.BR pthread_sigmask ()
+function silently ignores attempts to block the two real-time signals that
+are used internally by the NPTL threading implementation.
+See
+.BR nptl (7)
+for details.
.SH EXAMPLE
The program below blocks some signals in the main thread,
and then creates a dedicated thread to fetch those signals via