[Ecls-list] ffi broken in windows

Juan Jose Garcia-Ripoll jjgarcia at users.sourceforge.net
Wed Dec 26 09:56:22 UTC 2007

Hi Dustin,

we have to somehow find another solution, as your patch prevents users
from loading the same FASL file twice, which should be allowed.


On Dec 26, 2007 3:02 AM, Dustin Long <dlong at stevens.edu> wrote:
> There is a problem with how ffi currently loads libraries in windows. Each call to def-function loads a new instance of a dll, which breaks any libraries that rely on shared state. The fix is to only copy and reload libraries if they've changed since they were last loaded. A patch is attached, and here is a link to a simple example demonstrating the problem:
> http://personal.stevens.edu/~dlong/load-time-test-case.zip
> Dustin
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2005.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> Ecls-list mailing list
> Ecls-list at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/ecls-list

Facultad de Fisicas, Universidad Complutense,
Ciudad Universitaria s/n Madrid 28040 (Spain)

More information about the ecl-devel mailing list