run dtors before taking the exit-lock in pthread exit
[musl] / src / thread / cancellation2.c