This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: static constructors/destructors and atexit


On Sun, 9 Aug 1998, Steven Parkes wrote:

: We've made a local solution which essentially makes another atexit()-like
: function (cdtoratexit()) which the static scheduler uses instead of the
: real atexit().  cdtoratexit() calls atexit() once.

This would be a good candidate for libgcc.  Also, it guarantees a single
exit point for static destructors.

-- 
-- Todd Vierling (Personal tv@pobox.com; Bus. todd_vierling@xn.xerox.com)



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]