diff options
Diffstat (limited to 'src/internal/pthread_impl.h')
-rw-r--r-- | src/internal/pthread_impl.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/internal/pthread_impl.h b/src/internal/pthread_impl.h index 049f5dfb..24cbeb25 100644 --- a/src/internal/pthread_impl.h +++ b/src/internal/pthread_impl.h @@ -75,9 +75,12 @@ struct __timer { #include "pthread_arch.h" -#define SIGCANCEL 32 -#define SIGSYSCALL 33 -#define SIGTIMER 34 +#define SIGTIMER 32 +#define SIGCANCEL 33 +#define SIGSYSCALL 34 + +#define SIGPT_SET ((sigset_t){{[sizeof(long)==4] = 3<<(32*(sizeof(long)>4))}}) +#define SIGTIMER_SET ((sigset_t){{ 0x80000000 }}) int __set_thread_area(void *); int __libc_sigaction(int, const struct sigaction *, struct sigaction *); |