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: Tue, 11 Aug 1998 12:45:03 -0400 (EDT)
- cc: Alexandre Oliva <oliva at dcc dot unicamp dot br>, egcs at cygnus dot com
On Mon, 10 Aug 1998, Steven Parkes wrote:
: so the idea is use gcc's atexit on systems that implement limited atexits?
I liked the earlier idea of a specialized atexit() for this purpose. If,
for example, a small version of atexit() designed for the job were put in
libgcc2, who calls the real atexit() only once, you could use it on all
systems (not just those with "broken atexit()s"). Something with a name
like __dtoratexit() or similar.
--
-- Todd Vierling (Personal tv@pobox.com; Bus. todd_vierling@xn.xerox.com)