summaryrefslogtreecommitdiff
path: root/nptl/pthreadP.h
diff options
context:
space:
mode:
authorRoland McGrath <roland@hack.frob.com>2014-07-31 11:37:48 -0700
committerRoland McGrath <roland@hack.frob.com>2014-07-31 11:37:48 -0700
commit23fe486bebc9ce58405853eb70cd87352156c91d (patch)
tree01b16926532cde91d0784e078becf10bba6fb156 /nptl/pthreadP.h
parentf349489e7e5b5341a9c1a590e9a41c2e07d3bdbb (diff)
downloadglibc-23fe486bebc9ce58405853eb70cd87352156c91d.tar.gz
Split nptl-signals.h out from pthreadP.h
Diffstat (limited to 'nptl/pthreadP.h')
-rw-r--r--nptl/pthreadP.h18
1 files changed, 2 insertions, 16 deletions
diff --git a/nptl/pthreadP.h b/nptl/pthreadP.h
index 6069be93c3..4226473d59 100644
--- a/nptl/pthreadP.h
+++ b/nptl/pthreadP.h
@@ -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. */