Explorar o código

I added, then removed and now I add this again :). Hopefully I got it rigth this time.

Joakim Tjernlund %!s(int64=20) %!d(string=hai) anos
pai
achega
0c481d3478
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      libpthread/linuxthreads/pthread.c

+ 1 - 0
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) {