fix ABA race in cond vars, improve them overall
[musl] / src / thread / syscall_cp.c