fix several locks that weren't updated right for new futex-based __lock
[musl] / src / thread / syscall_cp.c