pthread_arch.h 267 B

123456789
  1. typedef char *(*__ptr_func_t)(void) __attribute__((const));
  2. #define __pthread_self() \
  3. ((pthread_t)(((__ptr_func_t)0xffff0fe0)()+8-sizeof(struct pthread)))
  4. #define TLS_ABOVE_TP
  5. #define TP_ADJ(p) ((char *)(p) + sizeof(struct pthread) - 8)
  6. #define CANCEL_REG_IP 18