overhaul pthread cancellation
[musl] / arch / i386 / pthread_arch.h
index 155b484..b17dc87 100644 (file)
@@ -4,3 +4,6 @@ static inline struct pthread *__pthread_self()
        __asm__ ("movl %%gs:0,%0" : "=r" (self) );
        return self;
 }
+
+#define CANCEL_REG_SP 7
+#define CANCEL_REG_IP 14