fix serious bug in pthread_join
[musl] / src / signal / restore.c