[Ecls-list] ffi broken in windows

Dustin Long dlong at stevens.edu
Wed Dec 26 02:02:25 UTC 2007

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:


-------------- next part --------------
A non-text attachment was scrubbed...
Name: 05_2007-12-24-load-time.patch
Type: text/x-patch
Size: 2068 bytes
Desc: not available
URL: <https://mailman.common-lisp.net/pipermail/ecl-devel/attachments/20071225/443afc45/attachment.bin>

More information about the ecl-devel mailing list