Since a rI'm sitting on this for a bit until I determine a couple of things.
1. Could libc++ use std::atexit to call the destructor function before destroying the pthread key? 2. What does the standard say about race conditions between thread-exit and program-exit? Do all created threads have to be terminated before std::exit() begins? 3. How do the pthread_key thread-exit destructors fit into the steps C++ takes at a thread exit? http://reviews.llvm.org/D8802 EMAIL PREFERENCES http://reviews.llvm.org/settings/panel/emailpreferences/ _______________________________________________ cfe-commits mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
