1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-07-29 11:41:21 +03:00

Split nptl-signals.h out from pthreadP.h

This commit is contained in:
Roland McGrath
2014-07-31 11:37:48 -07:00
parent f349489e7e
commit 23fe486beb
4 changed files with 64 additions and 16 deletions

View File

@ -32,6 +32,8 @@
#include <atomic.h>
#include <kernel-features.h>
#include <errno.h>
#include <nptl-signals.h>
/* Atomic operations on TLS memory. */
#ifndef THREAD_ATOMIC_CMPXCHG_VAL
@ -314,22 +316,6 @@ __do_cancel (void)
# define LIBC_CANCEL_HANDLED() /* Nothing. */
#endif
/* The signal used for asynchronous cancelation. */
#define SIGCANCEL __SIGRTMIN
/* Signal needed for the kernel-supported POSIX timer implementation.
We can reuse the cancellation signal since we can distinguish
cancellation from timer expirations. */
#define SIGTIMER SIGCANCEL
/* Signal used to implement the setuid et.al. functions. */
#define SIGSETXID (__SIGRTMIN + 1)
/* Used to communicate with signal handler. */
extern struct xid_command *__xidcmd attribute_hidden;
/* Internal prototypes. */