From 0c481d3478cb8aa7c250404a7d9d638172ed9353 Mon Sep 17 00:00:00 2001 From: Joakim Tjernlund Date: Sat, 28 May 2005 21:58:09 +0000 Subject: I added, then removed and now I add this again :). Hopefully I got it rigth this time. --- libpthread/linuxthreads/pthread.c | 1 + 1 file changed, 1 insertion(+) (limited to 'libpthread') diff --git a/libpthread/linuxthreads/pthread.c b/libpthread/linuxthreads/pthread.c index afc785d14..2615fe724 100644 --- a/libpthread/linuxthreads/pthread.c +++ b/libpthread/linuxthreads/pthread.c @@ -376,6 +376,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