f75379cf834deb53c02c31c5f28584b75c0e7a44
[musl] / arch / mips / pthread_arch.h
1 static inline struct pthread *__pthread_self()
2 {
3         struct pthread *self;
4         __asm__ __volatile__ (".word 0x7c03e83b" : "=v" (self) );
5         return self;
6 }
7
8 #define CANCEL_REG_IP (3-(union {int __i; char __b;}){1}.__b)