use a_store to set cancel flag in pthread_cancel, to ensure a barrier
[musl] / src / thread / pthread_testcancel.c
1 #include "pthread_impl.h"
2
3 void pthread_testcancel()
4 {
5         CANCELPT_BEGIN;
6         CANCELPT_END;
7 }