summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoakim Tjernlund <joakim.tjernlund@transmode.se>2005-05-28 21:58:09 +0000
committerJoakim Tjernlund <joakim.tjernlund@transmode.se>2005-05-28 21:58:09 +0000
commit0c481d3478cb8aa7c250404a7d9d638172ed9353 (patch)
tree7e4a01d32b3b301e91be3cf172c15c0733276eb5
parent75ca73f431add9f5b04591023318f4274744289d (diff)
I added, then removed and now I add this again :). Hopefully I got it rigth this time.
-rw-r--r--libpthread/linuxthreads/pthread.c1
1 files changed, 1 insertions, 0 deletions
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) {