aboutsummaryrefslogtreecommitdiff
path: root/linuxthreads/internals.h
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1999-01-07 11:53:05 +0000
committerUlrich Drepper <drepper@redhat.com>1999-01-07 11:53:05 +0000
commitb92ad8d61f18a3e9a61434e2e3252efd862bd7f4 (patch)
treea673f7750cb17ce2adaee14e9a8b4855447b6feb /linuxthreads/internals.h
parent34992338178abc47897f10ce4fb12d204e682b14 (diff)
downloadglibc-b92ad8d61f18a3e9a61434e2e3252efd862bd7f4.zip
glibc-b92ad8d61f18a3e9a61434e2e3252efd862bd7f4.tar.gz
glibc-b92ad8d61f18a3e9a61434e2e3252efd862bd7f4.tar.bz2
1999-01-07 Xavier Leroy <Xavier.Leroy@inria.fr>
* pthread.c: Use a third signal __pthread_sig_debug distinct from __pthread_sig_cancel to notify gdb when a thread is created * manager.c: Likewise. * internals.h: Likewise. * signals.c: The implementation of sigwait(s) assumed that all signals in s have signal handlers already attached. This is not required by the standard, so make it work also if some of the signals have no handlers.
Diffstat (limited to 'linuxthreads/internals.h')
-rw-r--r--linuxthreads/internals.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/linuxthreads/internals.h b/linuxthreads/internals.h
index 1557789..0654c32 100644
--- a/linuxthreads/internals.h
+++ b/linuxthreads/internals.h
@@ -148,6 +148,10 @@ struct pthread_request {
extern int __pthread_sig_restart;
extern int __pthread_sig_cancel;
+/* Signal used for interfacing with gdb */
+
+extern int __pthread_sig_debug;
+
/* Default signals used if we don't have realtime signals */
#define DEFAULT_SIG_RESTART SIGUSR1