aboutsummaryrefslogtreecommitdiff
path: root/stdlib/tst-tls-atexit.c
AgeCommit message (Collapse)Author
2013-02-19Fix copyright year in new filesSiddhesh Poyarekar
2013-02-18C++11 thread_local destructors supportSiddhesh Poyarekar
This feature is specifically for the C++ compiler to offload calling thread_local object destructors on thread program exit, to glibc. This is to overcome the possible complication of destructors of thread_local objects getting called after the DSO in which they're defined is unloaded by the dynamic linker. The DSO is marked as 'unloadable' if it has a constructed thread_local object and marked as 'unloadable' again when all the constructed thread_local objects defined in it are destroyed.