diff options
author | Ulrich Drepper <drepper@redhat.com> | 1999-01-07 11:53:05 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 1999-01-07 11:53:05 +0000 |
commit | b92ad8d61f18a3e9a61434e2e3252efd862bd7f4 (patch) | |
tree | a673f7750cb17ce2adaee14e9a8b4855447b6feb /linuxthreads/internals.h | |
parent | 34992338178abc47897f10ce4fb12d204e682b14 (diff) | |
download | glibc-b92ad8d61f18a3e9a61434e2e3252efd862bd7f4.tar.gz glibc-b92ad8d61f18a3e9a61434e2e3252efd862bd7f4.tar.xz glibc-b92ad8d61f18a3e9a61434e2e3252efd862bd7f4.zip |
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.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/linuxthreads/internals.h b/linuxthreads/internals.h index 1557789a7c..0654c32758 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 |