musl/arch/wasm32/pthread_arch.h
2017-10-27 14:39:51 -07:00

10 lines
174 B
C

static inline struct pthread *__pthread_self(void) {
return (struct pthread *)UINTPTR_MAX;
}
#define TP_ADJ(p) (p)
#define CANCEL_REG_IP 16
#define MC_PC gregs[REG_EIP]