dimitry added inline comments. ================ Comment at: src/cxa_thread_atexit.cpp:46 @@ +45,3 @@ + pthread_key_delete(key_); + } + ---------------- bcraig wrote: > dimitry wrote: > > run_dtors() is called when/if libc++.so gets unloaded... but only for the > > thread calling dlclose()? > Most of the dtor magic is on the pthread_key_create side. pthreads lets you > register a per-thread destructor. > > This destructor is only run on process termination (I think). I meant the call from ~DtorListHolder()
http://reviews.llvm.org/D21803 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits