[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
-----BEGIN PGP SIGNED MESSAGE-----
#Tuesday 23 April 2002 19:50# Message from Gregor Mueckl:
> This works only if you have C-ish interface between the module and the
> core engine. But what if you pass on an instance of a class that's
> implemented in the module on to the engine and loose track of it (you
> would have to replace it, anyway)?
Use a resource manager. All access to facilities provided by loadable modules
goes via the resource manager, which means that any code outside the module
never gets to it directly, and if they need to you can set up a locking and
reference system to ensure that you don't loost track of things.
=[ http://www.starforge.co.uk/ ]===[ Explorer2260 Lead Designer and Coder. ]
=[ Public key: ]===================[ http://www.starforge.co.uk/pubkey.txt ]
=[ Quod nesciunt eos interficiet. ]
Good news. Ten weeks from Friday will be a pretty good day.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org
-----END PGP SIGNATURE-----