poll tests: Avoid test failure on BSD and Solaris systems.
[gnulib.git] / doc / posix-functions / pthread_sigmask.texi
blob28146627051325b6e96df04dfdc11e9b7c56e831
1 @node pthread_sigmask
2 @section @code{pthread_sigmask}
3 @findex pthread_sigmask
5 POSIX specification:@* @url{https://pubs.opengroup.org/onlinepubs/9699919799/functions/pthread_sigmask.html}
7 Gnulib module: pthread_sigmask
9 Portability problems fixed by Gnulib:
10 @itemize
11 @item
12 This function is missing on some platforms:
13 Minix 3.1.8, mingw, MSVC 14.
14 @item
15 This function is declared in @code{<pthread.h>} instead of @code{<signal.h>}
16 on some platforms:
17 FreeBSD 6.4, OpenBSD 3.8.
18 @item
19 This function does nothing and always returns 0 in programs that are not
20 linked with @code{-lpthread} on some platforms:
21 FreeBSD 6.4, HP-UX 11.31, Solaris 9.
22 @item
23 When it fails, this functions returns @minus{}1 instead of the error number on
24 some platforms:
25 Cygwin 1.7.5.
26 @item
27 This function does not immediately raise signals that were pending before
28 the call and unblocked by the call on some platforms:
29 IRIX 6.5.
30 @end itemize
32 Portability problems not fixed by Gnulib:
33 @itemize
34 @item
35 On platforms that do not natively support this function,
36 it has unspecified behavior in a multi-threaded process.
37 @item
38 This function may not fail when the first argument is invalid on some platforms:
39 NetBSD 8.0.
40 @end itemize