X-Git-Url: http://nsz.repo.hu/git/?p=musl;a=blobdiff_plain;f=src%2Finternal%2Fpthread_impl.h;h=0f10cc48b116ff026fb59bf4dfd13deb0189deb3;hp=56b92b22cca20d9fd1b4b91ad818d34e8d9ef8d5;hb=dcd60371500a74d489372cac7240674c992c2484;hpb=2f437040e7911d9bef239588ea7ed6f4b9102922 diff --git a/src/internal/pthread_impl.h b/src/internal/pthread_impl.h index 56b92b22..0f10cc48 100644 --- a/src/internal/pthread_impl.h +++ b/src/internal/pthread_impl.h @@ -22,7 +22,7 @@ struct pthread { struct pthread *self; - void *dtv, *unused1, *unused2; + void **dtv, *unused1, *unused2; uintptr_t sysinfo; uintptr_t canary; pid_t tid, pid; @@ -111,8 +111,9 @@ int __timedwait(volatile int *, int, clockid_t, const struct timespec *, void (* void __wait(volatile int *, volatile int *, int, int); void __wake(volatile int *, int, int); -void __synccall_lock(); -void __synccall_unlock(); +void __acquire_ptc(); +void __release_ptc(); +void __inhibit_ptc(); #define DEFAULT_STACK_SIZE 81920 #define DEFAULT_GUARD_SIZE PAGE_SIZE