aboutsummaryrefslogtreecommitdiff
path: root/nptl
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
parentf349489e7e5b5341a9c1a590e9a41c2e07d3bdbb (diff)
downloadglibc-23fe486bebc9ce58405853eb70cd87352156c91d.zip
glibc-23fe486bebc9ce58405853eb70cd87352156c91d.tar.gz
glibc-23fe486bebc9ce58405853eb70cd87352156c91d.tar.bz2
Split nptl-signals.h out from pthreadP.h
Diffstat (limited to 'nptl')
-rw-r--r--nptl/pthreadP.h18
1 files changed, 2 insertions, 16 deletions
diff --git a/nptl/pthreadP.h b/nptl/pthreadP.h
index 6069be9..4226473 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. */