support __cxa_atexit, and registering atexit functions from atexit handlers
authorRich Felker <dalias@aerifal.cx>
Sat, 15 Oct 2011 03:21:54 +0000 (23:21 -0400)
committerRich Felker <dalias@aerifal.cx>
Sat, 15 Oct 2011 03:21:54 +0000 (23:21 -0400)
commitb7c683be35586f671d91c9883c9a41920938df9b
treedeba5d24ca3cfe368e824c1ee2b56665ea01ebc4
parentf753049a50132a23849ef89a8af5ff86ad595c25
support __cxa_atexit, and registering atexit functions from atexit handlers

mildly tested; may have bugs. the locking should be updated not to use
spinlocks but that's outside the scope of this one module.
src/exit/atexit.c