new lock algorithm with state and congestion count in one atomic int
[musl] / arch / x32 / pthread_arch.h
index 033bfd6..267ad07 100644 (file)
@@ -7,6 +7,8 @@ static inline struct pthread *__pthread_self()
 
 #define TP_ADJ(p) (p)
 
-#define CANCEL_REG_IP 32
+#define MC_PC gregs[REG_RIP]
 
 #define CANARY canary2
+
+#define tls_mod_off_t unsigned long long