musl/arch/wasm32/pthread_arch.h

8 lines
157 B
C
Raw Normal View History

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