Re: at_init / at_exit proposal

David Abrahams <[email protected]>
Newsgroups gmane.comp.lib.boost.langbinding
Message-ID <[email protected]>
Dirk Gerrits <[email protected]> writes:

> David Abrahams wrote:

>>Module import time is early
>> enough to initialize any state associated with a module, and the rest
>> of the state can safely live forever.
>
> Oh okay. Can it even safely live on when the (embedded) Python
> interpreter is not running anymore? And will it still work when the
> Python interpreter is then later restarted?

It can certainly be designed that way.

-- 
Dave Abrahams
Boost Consulting
www.boost-consulting.com



-------------------------------------------------------
This SF.net email is sponsored by: VM Ware
With VMware you can run multiple operating systems on a single machine.
WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the
same time. Free trial click here: http://www.vmware.com/wl/offer/345/0
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.