musl/arch/wasm32/pthread_arch.h

10 lines
174 B
C
Raw Normal View History

2017-10-25 16:47:06 -07:00
static inline struct pthread *__pthread_self(void) {
return (struct pthread *)UINTPTR_MAX;
}
2016-01-28 11:04:59 -08:00
#define TP_ADJ(p) (p)
#define CANCEL_REG_IP 16
#define MC_PC gregs[REG_EIP]