X-Git-Url: http://nsz.repo.hu/git/?p=musl;a=blobdiff_plain;f=src%2Finternal%2Fpthread_impl.h;h=615713c7441b3c7b69a922eb0b876570ae97cb59;hp=049f5dfb4ddd4e1f2f5303e20e6e5cc1b44f11fb;hb=4c4e22d781d75a461097cccc2ecac5adbafb1a59;hpb=f16a3089be33a75ef8e75b2dd5ec3095996bbb87 diff --git a/src/internal/pthread_impl.h b/src/internal/pthread_impl.h index 049f5dfb..615713c7 100644 --- a/src/internal/pthread_impl.h +++ b/src/internal/pthread_impl.h @@ -75,9 +75,14 @@ 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 *)(unsigned long [1+(sizeof(long)==4)]){ \ + [sizeof(long)==4] = 3<<(32*(sizeof(long)>4)) }) +#define SIGTIMER_SET ((sigset_t *)(unsigned long [1+(sizeof(long)==4)]){ \ + 0x80000000 }) int __set_thread_area(void *); int __libc_sigaction(int, const struct sigaction *, struct sigaction *);