1 #ifdef _REENTRANT
2 #error "multiple threads not supported in musl yet"
3 #endif
4 
5 #define a_barrier() (__sync_synchronize())
6 #define a_cas(p, t, s) (__sync_val_compare_and_swap((p), (t), (s)))
7 #define a_crash() (__builtin_trap())
8