diff options
author | Ulrich Drepper <drepper@redhat.com> | 1999-01-24 17:11:55 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 1999-01-24 17:11:55 +0000 |
commit | 4487e30b40031d789f50f684a58b46fd2ea813cd (patch) | |
tree | df385f7ed77483088480bb8e43cdd979f6af1df3 /linuxthreads/manager.c | |
parent | 6a3b5b5c7149b75fcb85d053ad993e9dff0e39a4 (diff) | |
download | glibc-4487e30b40031d789f50f684a58b46fd2ea813cd.tar.gz glibc-4487e30b40031d789f50f684a58b46fd2ea813cd.tar.xz glibc-4487e30b40031d789f50f684a58b46fd2ea813cd.zip |
Update.
* po/sv.po: Update from translation team. * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add __vfork as alias. * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise. 1999-01-24 Andreas Jaeger <aj@arthur.rhein-neckar.de> * ctype/ctype.h (toupper,tolower): Use __inline instead of inline, define inline functions only when optimizing for speed and __USE_EXTERN_INLINES is set. 1999-01-24 Ulrich Drepper <drepper@cygnus.com> * ctype/ctype.c (toupper): Correct variable names from last change.
Diffstat (limited to 'linuxthreads/manager.c')
-rw-r--r-- | linuxthreads/manager.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/linuxthreads/manager.c b/linuxthreads/manager.c index caa819002e..b244d87686 100644 --- a/linuxthreads/manager.c +++ b/linuxthreads/manager.c @@ -104,6 +104,8 @@ int __pthread_manager(void *arg) /* Block all signals except __pthread_sig_cancel and SIGTRAP */ sigfillset(&mask); sigdelset(&mask, __pthread_sig_cancel); /* for thread termination */ + if (__pthread_sig_debug > 0) + sigdelset(&mask, __pthread_sig_debug); /* for debugging purposes */ sigdelset(&mask, SIGTRAP); /* for debugging purposes */ sigprocmask(SIG_SETMASK, &mask, NULL); /* Raise our priority to match that of main thread */ @@ -162,7 +164,7 @@ int __pthread_manager(void *arg) case REQ_DEBUG: /* Make gdb aware of new thread */ if (__pthread_threads_debug && __pthread_sig_debug > 0) - raise(__pthread_sig_debug); + raise(__pthread_sig_debug); restart(request.req_thread); break; } @@ -375,9 +377,6 @@ static int pthread_handle_create(pthread_t *thread, const pthread_attr_t *attr, /* Do the cloning */ pid = __clone(pthread_start_thread, (void **) new_thread, CLONE_VM | CLONE_FS | CLONE_FILES | CLONE_SIGHAND | -#ifdef CLONE_PTRACE - CLONE_PTRACE | -#endif __pthread_sig_cancel, new_thread); /* Check if cloning succeeded */ if (pid == -1) { |