|
@@ -563,17 +563,13 @@ static void pthread_initialize(void)
|
|
|
will be inherited by all other threads. */
|
|
|
memset(&sa, 0, sizeof(sa));
|
|
|
sa.sa_handler = pthread_handle_sigrestart;
|
|
|
-
|
|
|
-
|
|
|
__libc_sigaction(__pthread_sig_restart, &sa, NULL);
|
|
|
sa.sa_handler = pthread_handle_sigcancel;
|
|
|
sigaddset(&sa.sa_mask, __pthread_sig_restart);
|
|
|
-
|
|
|
__libc_sigaction(__pthread_sig_cancel, &sa, NULL);
|
|
|
if (__pthread_sig_debug > 0) {
|
|
|
sa.sa_handler = pthread_handle_sigdebug;
|
|
|
__sigemptyset(&sa.sa_mask);
|
|
|
-
|
|
|
__libc_sigaction(__pthread_sig_debug, &sa, NULL);
|
|
|
}
|
|
|
|
|
@@ -1153,9 +1149,7 @@ void __pthread_kill_other_threads_np(void)
|
|
|
implementation uses since this would be passed to the new
|
|
|
process. */
|
|
|
memset(&sa, 0, sizeof(sa));
|
|
|
-
|
|
|
-
|
|
|
- if (SIG_DFL)
|
|
|
+ if (SIG_DFL)
|
|
|
sa.sa_handler = SIG_DFL;
|
|
|
__libc_sigaction(__pthread_sig_restart, &sa, NULL);
|
|
|
__libc_sigaction(__pthread_sig_cancel, &sa, NULL);
|