use a_store to set cancel flag in pthread_cancel, to ensure a barrier
use a_store to set cancel flag in pthread_cancel, to ensure a barrier

chneukirchen/musl-chris2,chardi/musl,chneukirchen/musl-chris2,chardi/musl,rofl0r/musl-old,davidlazar/musl,chardi/musl,rofl0r/musl-old,davidlazar/musl