overhaul pthread cancellation
[musl] / src / thread / pthread_testcancel.c
index 774b706..c6b250b 100644 (file)
@@ -2,6 +2,5 @@
 
 void pthread_testcancel()
 {
 
 void pthread_testcancel()
 {
-       CANCELPT_BEGIN;
-       CANCELPT_END;
+       if (libc.testcancel) libc.testcancel();
 }
 }