2012-07-11 04:22:13 -04:00
|
|
|
static inline struct pthread *__pthread_self()
|
|
|
|
{
|
|
|
|
struct pthread *self;
|
|
|
|
__asm__ __volatile__ (".word 0x7c03e83b" : "=v" (self) );
|
|
|
|
return self;
|
|
|
|
}
|
|
|
|
|
2012-07-12 21:49:30 -04:00
|
|
|
#define CANCEL_REG_IP (3-(union {int __i; char __b;}){1}.__b)
|