On Wed, Mar 23, 2011 at 2:36 PM, Esteban Lorenzano <estebanlm@gmail.com> wrote:

about this... what I wonder is if regular FFI package should work with new ThreadedIA32FFIPlugin... or I need something new?

I have some image-level changes that I'll try and commit asap, or at least give you as some inbox packages
- parsing FFI method annotations to discover the #threaded keyword that sets the "go ahead and thread this call" bit in an FFI spec
- an additional inst var in ExternalFunction (IIRC) that allows the VM to record how much stack space to reserve when marshalling an FFI call
- the new callback marshalling machinery that provides platform-independence

I just need to fid the time to push the code to you.

Now on testing I use
a) an image with a "listener" that reads and writes from/to stdin/out while allowing one to interact with the image
b) a native Mac OS file dialog that uses a threaded call to invoke without blocking the image and threaded callbacks to determine which files to show (filter callback) and what the accept action is.  I've of course lost my workspace containing this and so have to ferret out the doits from my changes file (I feel such a fool!).  Alas this will need work as it used an extension to a Teleplace native file dialog plugin.  But posting it to FFI will be good; it will test the FFI further.
c) a threaded version of the ODBC connect that hasn't really been tested

etting you and others to start pounding on these would be fantastic.  Just a matter of finding time.  f you're happy for me to push inbox packages, changesets, workspace contents then I can provide something quickly.  If you want me to commit canges that I've made sure are backward compatible and don't break trunk I'm going ot be much slower.

best regards (albeit feeling a little frazzled :-) ),
Eliot

El 23/03/2011, a las 10:44a.m., Esteban Lorenzano escribió:

> Hi,
> I'm trying to build latest oscog... and, well, I wonder how can I test the MT FFI? Or the reentrant FFI?
>
> Thanks,
> Esteban