[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Oct Files Help -- mkoctfile

From: John W. Eaton
Subject: Re: Oct Files Help -- mkoctfile
Date: Wed, 09 Jan 2008 15:55:41 -0500

On  9-Jan-2008, Michael Goffioul wrote:

| I don't think you're missing anything. It's just that once a DLL is mapped
| into memory by any process, the DLL is locked and you can't open it
| for writing. As a consequence, the compiler cannot overwrite the mex
| file (which is really a DLL). Normally, clearing MexTest should unmap
| the mes file from memory, making it again available for writing, but
| apparently it does not work. This might be a bug. John has probably a
| better understanding of when a mex file is unloaded.

I seem to recall that with the old symbol table code (what is in 3.0)
mex files were unloaded properly when they were cleared.  I intended
to look at the problem before releasing 3.0, but maybe that was
something that slipped by.  Anyway, if it is still true that they are
not properly unloaded, I don't have any plans to fix it for any 3.0.x

I also though it was fixed now in cvs head, but that doesn't appear to
be the case.  Clearing .oct files does seem to unload them.  I don't
know recall now why mex files are not handled in the same way, at
least with the new symbol table code.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]