1
0
mirror of https://git.savannah.gnu.org/git/gnulib.git synced 2025-08-08 17:22:05 +03:00
Files
gnulib/modules/sigprocmask
Bruno Haible e9d8c4f480 sigprocmask: Make multithread-safe on native Windows.
* lib/sigprocmask.c: Include glthread/lock.h.
(sig_lock): New variable.
(blocked_set): Remove 'volatile'.
(sigprocmask, _gl_raise_SIGPIPE): Use the sig_lock.
* modules/sigprocmask (Depends-on): Add lock.
* doc/posix-functions/sigprocmask.texi: Mention the async-safety issue.
2025-05-16 15:51:13 +02:00

36 lines
687 B
Plaintext

Description:
POSIX compatible signal blocking.
Files:
lib/sigprocmask.c
m4/signalblocking.m4
Depends-on:
signal-h
stdint-h [test $HAVE_POSIX_SIGNALBLOCKING = 0]
lock [test $HAVE_POSIX_SIGNALBLOCKING = 0]
raise [test $HAVE_POSIX_SIGNALBLOCKING = 0]
msvc-inval [test $HAVE_POSIX_SIGNALBLOCKING = 0]
configure.ac:
gl_SIGNALBLOCKING
gl_CONDITIONAL([GL_COND_OBJ_SIGPROCMASK], [test $HAVE_POSIX_SIGNALBLOCKING = 0])
AM_COND_IF([GL_COND_OBJ_SIGPROCMASK], [
gl_PREREQ_SIGPROCMASK
])
gl_SIGNAL_MODULE_INDICATOR([sigprocmask])
Makefile.am:
if GL_COND_OBJ_SIGPROCMASK
lib_SOURCES += sigprocmask.c
endif
Include:
<signal.h>
License:
LGPLv2+
Maintainer:
all