make pthread_exit run dtors for last thread, wait to decrement thread count
[musl] / src / thread / __set_thread_area.c