* doc/posix-functions/sigprocmask.texi: Add note.
+2020-06-28 Bruno Haible <bruno@clisp.org>
+
+ doc: Add a note about sigprocmask vs. pthread_sigmask.
+ * doc/posix-functions/sigprocmask.texi: Add note.
+
2020-06-28 Bruno Haible <bruno@clisp.org>
getrandom: Fix compilation errors on older versions of mingw.
Portability problems not fixed by Gnulib:
@itemize
@end itemize
+
+Note: Although @code{sigprocmask} officially has undefined behaviour in
+multi-threaded programs, in practice it is essentially equivalent to
+@code{pthread_sigmask}, with only a difference regarding the error
+return convention. It's simpler to use @code{sigprocmask}, since it does
+not require linking with @code{-lpthread} on some platforms:
+glibc, NetBSD, OpenBSD, AIX, IRIX.