fix race condition in pthread_kill
[musl] / src / internal / syscall.c