This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: static constructors/destructors and atexit
- To: Steven Parkes <parkes at sierravista dot com>
- Subject: Re: static constructors/destructors and atexit
- From: Todd Vierling <tv at pobox dot com>
- Date: Mon, 10 Aug 1998 11:54:02 -0400 (EDT)
- cc: egcs at cygnus dot com
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)