change underlying type of clock_t to be uniform and match ABI
[musl] / arch / arm / pthread_arch.h
1 typedef char *(*__ptr_func_t)(void) __attribute__((const));
2
3 #define __pthread_self() \
4         ((pthread_t)(((__ptr_func_t)0xffff0fe0)()+8-sizeof(struct pthread)))
5
6 #define TLS_ABOVE_TP
7 #define TP_ADJ(p) ((char *)(p) + sizeof(struct pthread) - 8)
8
9 #define CANCEL_REG_IP 18