X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=src%2Finternal%2Fpthread_impl.h;h=0bcc54cc62e2d3620f7080c70d2d7c8903f8ed11;hb=2cff36a84f268c09f4c9dc5a1340652c8e298dc0;hp=615b963ae452ecb7601b44b003f6deabc1d9c030;hpb=70c31c7bd779400d2eb56dcb4075bb37227081db;p=musl diff --git a/src/internal/pthread_impl.h b/src/internal/pthread_impl.h index 615b963a..0bcc54cc 100644 --- a/src/internal/pthread_impl.h +++ b/src/internal/pthread_impl.h @@ -41,10 +41,12 @@ struct pthread { long off; void *pending; } robust_list; + int unblock_cancel; }; struct __timer { - struct sigevent sev; + int timerid; + pthread_t thread; }; #define __SU (sizeof(size_t)/sizeof(int)) @@ -73,7 +75,6 @@ struct __timer { #define SIGCANCEL 32 #define SIGSYSCALL 33 -#define SIGTIMER 32 /* ?? */ int __set_thread_area(void *); int __libc_sigaction(int, const struct sigaction *, struct sigaction *); @@ -85,6 +86,9 @@ int __timedwait(volatile int *, int, clockid_t, const struct timespec *, int); void __wait(volatile int *, volatile int *, int, int); void __wake(volatile int *, int, int); +void __rsyscall_lock(); +void __rsyscall_unlock(); + #define DEFAULT_STACK_SIZE (16384-PAGE_SIZE) #define DEFAULT_GUARD_SIZE PAGE_SIZE