fix potential race condition in detached threads
[musl] / crt / Scrt1.c