Use of atexit for destructors on Solaris 7.
Mike Stump
mrs@windriver.com
Tue Mar 21 16:16:00 GMT 2000
> Date: Wed, 22 Mar 2000 01:04:37 +0100
> From: "Martin v. Loewis" <martin@loewis.home.cs.tu-berlin.de>
> To: ghazi@caip.rutgers.edu
> FWIW, the new ABI says the function to call is __cxa_atexit; that is
> activated either with -fnew-abi, or -fuse-cxa-atexit. The real
> reason for this function is that it is supposed to support
> unregistration of atexit functions, though. It is implemented in
> glibc 2.1.3, and will be provided by all ABI compliant systems.
And did they spec a two argument form of atexit for modules, so that
you can remove a whole slew of them in one call?
More information about the Gcc-bugs
mailing list