mirror of
https://https.git.savannah.gnu.org/git/gnulib.git
synced 2026-04-28 06:33:36 +00:00
* lib/sigprocmask.c: Include windows-tls.h, windows-once.h. (thread_local): Remove macro. (struct per_thread): New type. (tls_key): New variable. (keys_init): New function. (keys_init_once): New variable. (get_per_thread): New function. (per_thread_singleton): New variable. (blocked_set, pending_array): Remove variables. (sigpending, override_handler, pthread_sigmask, _gl_raise_SIGPIPE): Invoke get_per_thread, to access blocked_set or pending_array. * modules/sigprocmask (Depends-on): Add windows-once, windows-tls.
38 lines
795 B
Plaintext
38 lines
795 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]
|
|
raise [test $HAVE_POSIX_SIGNALBLOCKING = 0]
|
|
msvc-inval [test $HAVE_POSIX_SIGNALBLOCKING = 0]
|
|
windows-once [test $HAVE_POSIX_SIGNALBLOCKING = 0]
|
|
windows-spin [test $HAVE_POSIX_SIGNALBLOCKING = 0]
|
|
windows-tls [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
|