diff options
author | Ulrich Drepper <drepper@redhat.com> | 2004-10-06 08:53:46 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2004-10-06 08:53:46 +0000 |
commit | 67060ef581a5e44ced1d08e654f8f63737c51c78 (patch) | |
tree | 24c1001a76242d23c029441a4f248c380a7ce9bd /linuxthreads/pthread.c | |
parent | f38a30861e2c2979a6417801c91ca652f2711959 (diff) | |
download | glibc-67060ef581a5e44ced1d08e654f8f63737c51c78.zip glibc-67060ef581a5e44ced1d08e654f8f63737c51c78.tar.gz glibc-67060ef581a5e44ced1d08e654f8f63737c51c78.tar.bz2 |
2004-10-05 Dwayne Grant McConnell <dgm69@us.ibm.com>
* pthread.c: Mask restart signal during cancel signal handler.
Diffstat (limited to 'linuxthreads/pthread.c')
-rw-r--r-- | linuxthreads/pthread.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/linuxthreads/pthread.c b/linuxthreads/pthread.c index 6c98d73..24f0eb0 100644 --- a/linuxthreads/pthread.c +++ b/linuxthreads/pthread.c @@ -560,6 +560,7 @@ static void pthread_initialize(void) sa.sa_flags = 0; __libc_sigaction(__pthread_sig_restart, &sa, NULL); sa.sa_handler = pthread_handle_sigcancel; + sigaddset(&sa.sa_mask, __pthread_sig_restart); // sa.sa_flags = 0; __libc_sigaction(__pthread_sig_cancel, &sa, NULL); if (__pthread_sig_debug > 0) { |