From 67060ef581a5e44ced1d08e654f8f63737c51c78 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Wed, 6 Oct 2004 08:53:46 +0000 Subject: Update. 2004-10-05 Dwayne Grant McConnell * pthread.c: Mask restart signal during cancel signal handler. --- linuxthreads/pthread.c | 1 + 1 file changed, 1 insertion(+) (limited to 'linuxthreads/pthread.c') diff --git a/linuxthreads/pthread.c b/linuxthreads/pthread.c index 6c98d73255..24f0eb02b0 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) { -- cgit v1.2.3-70-g09d2