David Gonzalez Martin 38011a233c Integrate libs
2024-03-02 12:58:12 -06:00

6 lines
149 B
C

extern _Thread_local struct __pthread __wasilibc_pthread_self;
static inline uintptr_t __get_tp() {
return (uintptr_t)&__wasilibc_pthread_self;
}