pthread_sigmask: Work around bug in single-threaded implementation.
authorBruno Haible <bruno@clisp.org>
Fri, 8 Jul 2011 22:27:00 +0000 (00:27 +0200)
committerBruno Haible <bruno@clisp.org>
Fri, 8 Jul 2011 22:35:45 +0000 (00:35 +0200)
commit2616a6587c4240184112fdd18d164227824a32f0
treecce6d3c3eac69f86a31e9aab9c268ba4ae20b7fb
parentb80db060001e52a487a0502a6258156cbeea2a8a
pthread_sigmask: Work around bug in single-threaded implementation.

* m4/pthread_sigmask.m4 (gl_FUNC_PTHREAD_SIGMASK): Test for the
FreeBSD, HP-UX, Solaris bug.
(gl_PREREQ_PTHREAD_SIGMASK): New macro.
* lib/pthread_sigmask.c: Include <stddef.h>.
(pthread_sigmask): If HAVE_PTHREAD_SIGMASK, define as a wrapper around
the system's pthread_sigmask function.
* modules/pthread_sigmask (configure.ac): Invoke
gl_PREREQ_PTHREAD_SIGMASK.
* doc/posix-functions/pthread_sigmask.texi: Mention bug on FreeBSD,
HP-UX, Solaris.
ChangeLog
doc/posix-functions/pthread_sigmask.texi
lib/pthread_sigmask.c
m4/pthread_sigmask.m4
modules/pthread_sigmask