use a separate signal from SIGCANCEL for SIGEV_THREAD timers

otherwise we cannot support an application's desire to use
asynchronous cancellation within the callback function. this change
also slightly debloats pthread_create.c.
This commit is contained in:
Rich Felker
2011-04-14 12:51:00 -04:00
parent 9beb6330c0
commit 016a5dc192
6 changed files with 29 additions and 11 deletions

View File

@ -76,6 +76,7 @@ struct __timer {
#define SIGCANCEL 32
#define SIGSYSCALL 33
#define SIGTIMER 34
int __set_thread_area(void *);
int __libc_sigaction(int, const struct sigaction *, struct sigaction *);