Sharing Singleton instances across boost.python extension modules
Hi all, How do I share singleton instances across extension modules in Windows? For instance, if I have an instance of a memory manager in one DLL, how do I use the same memory manager in the other? I realise this is a big question, but any links, references etc would be appreciated. Is it even possible? Joel ===== __________________________________ Do you Yahoo!? The New Yahoo! Shopping - with improved product search http://shopping.yahoo.com
Joel Gerard <llywelyn.geo@yahoo.com> writes:
Hi all,
How do I share singleton instances across extension modules in Windows? For instance, if I have an instance of a memory manager in one DLL, how do I use the same memory manager in the other?
I realise this is a big question, but any links, references etc would be appreciated. Is it even possible?
Sorry it took so long to answer this, Joel. I don't think you need to do anything special to "share singleton instances across extension modules". It should "just work"... depending what, precisely, you have in mind. If you could say a little more about what you need, that might help. -- Dave Abrahams Boost Consulting www.boost-consulting.com
participants (2)
-
David Abrahams -
Joel Gerard