barrier destroy must also wait for threads in other processes exiting barrier
[musl] / src / internal / syscall.c