[Ecls-list] Problem with DLL loading and "locked" mode

Goffioul Michael goffioul at imec.be
Mon Oct 24 02:27:38 UTC 2005


> On Mon, 2005-10-24 at 11:03 +0200, Goffioul Michael wrote:
> > While trying to run the CFFI tests suite when compiled, I 
> found a problem
> > I don't know how to avoid it. Basically, it's related to 
> the GC of dynamically
> > loaded modules. Such a module is "locked" when a foreign 
> symbol is referenced
> > in it. However a problem occur when the module is collected 
> *before* any
> > symbol is referenced.
> 
> What about locking the shared library in si_load_foreign_module?

I guess it should solve the problem. I'll try that way.

Michael.




More information about the ecl-devel mailing list