1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-07-30 22:43:12 +03:00

NPTL: Conditionalize more uses of SIGCANCEL and SIGSETXID.

This commit is contained in:
Roland McGrath
2014-10-17 13:40:46 -07:00
parent b0643088bc
commit 327ae25707
4 changed files with 33 additions and 4 deletions

View File

@ -263,6 +263,7 @@ start_thread (void *arg)
}
#endif
#ifdef SIGCANCEL
/* If the parent was running cancellation handlers while creating
the thread the new thread inherited the signal mask. Reset the
cancellation signal mask. */
@ -275,6 +276,7 @@ start_thread (void *arg)
(void) INTERNAL_SYSCALL (rt_sigprocmask, err, 4, SIG_UNBLOCK, &mask,
NULL, _NSIG / 8);
}
#endif
/* This is where the try/finally block should be created. For
compilers without that support we do use setjmp. */