[Openmcl-devel] reloading/unloading shared libraries?

Brian Mastenbrook bmastenb at cs.indiana.edu
Mon Feb 9 11:29:52 PST 2004


On Feb 9, 2004, at 2:21 PM, Gary Byers wrote:

> The OS is more than happy to let you open a bundle multiple times.
> It's so happy, in fact, that it allows you to have multiple instances
> of the same library loaded at the same time, and it's generally hard
> to predict in which of a set of loaded bundles an external symbol
> will be found (I -think- that it's the first open library to have
> been loaded, but I don't know that one can reliably count on this.)
> It's hard in general for the lisp to keep track of which bundles
> have already been loaded, since the OS doesn't always tell it
> where the bundle was found.

Does OpenMCL keep track of this on its end, so that it can choose which 
bundle to actually get the symbol from? In SBCL I'm using 
NSLookupSymbolInImage so that symbols always dereference to the wanted 
bundle.
--
Brian Mastenbrook
bmastenb at cs.indiana.edu
http://cs.indiana.edu/~bmastenb/




More information about the Openmcl-devel mailing list