make pthread_exit run dtors for last thread, wait to decrement thread count
[musl] / crt / crt1.c
2011-02-12 Rich Felkerinitial check-in, version 0.5.0