view modules/pthread_sigmask @ 16105:a2d45c112907

Depend on module fcntl-h when AT_FDCWD is used. * modules/utimens (Depends-on): Add fcntl-h. * modules/areadlinkat (Depends-on): Likewise. * modules/areadlinkat-with-size (Depends-on): Likewise. * modules/faccessat (Depends-on): Likewise. * modules/fchmodat (Depends-on): Likewise. * modules/fchownat (Depends-on): Likewise. * modules/getcwd (Depends-on): Likewise. * modules/mkdirat (Depends-on): Likewise. * modules/mkfifoat (Depends-on): Likewise. * modules/readlinkat (Depends-on): Likewise. * modules/symlinkat (Depends-on): Likewise. * modules/dup2-tests (Depends-on): Likewise. * modules/fdutimensat-tests (Depends-on): Likewise. * modules/futimens-tests (Depends-on): Likewise.
author Bruno Haible <bruno@clisp.org>
date Sat, 19 Nov 2011 21:07:36 +0100
parents 51a803e5cfdc
children
line wrap: on
line source

Description:
POSIX compatible signal blocking for threads.

Files:
lib/pthread_sigmask.c
m4/pthread_sigmask.m4

Depends-on:
signal-h
threadlib
sigprocmask     [test $HAVE_PTHREAD_SIGMASK = 0 || test $REPLACE_PTHREAD_SIGMASK = 1]

configure.ac:
gl_FUNC_PTHREAD_SIGMASK
if test $HAVE_PTHREAD_SIGMASK = 0 || test $REPLACE_PTHREAD_SIGMASK = 1; then
  AC_LIBOBJ([pthread_sigmask])
  gl_PREREQ_PTHREAD_SIGMASK
fi
gl_SIGNAL_MODULE_INDICATOR([pthread_sigmask])

Makefile.am:

Include:
<signal.h>

Link:
$(LIB_PTHREAD_SIGMASK)

License:
LGPLv2+

Maintainer:
Paul Eggert, Bruno Haible, Jim Meyering