<br><br><div class="gmail_quote">On Wed, Mar 23, 2011 at 2:36 PM, Esteban Lorenzano <span dir="ltr">&lt;<a href="mailto:estebanlm@gmail.com">estebanlm@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<br>
about this... what I wonder is if regular FFI package should work with new ThreadedIA32FFIPlugin... or I need something new?<br></blockquote><div><br></div><div>I have some image-level changes that I&#39;ll try and commit asap, or at least give you as some inbox packages</div>
<div>- parsing FFI method annotations to discover the #threaded keyword that sets the &quot;go ahead and thread this call&quot; bit in an FFI spec</div><div>- an additional inst var in ExternalFunction (IIRC) that allows the VM to record how much stack space to reserve when marshalling an FFI call</div>
<div>- the new callback marshalling machinery that provides platform-independence</div><div><br></div><div>I just need to fid the time to push the code to you.</div><div><br></div><div>Now on testing I use</div><div>a) an image with a &quot;listener&quot; that reads and writes from/to stdin/out while allowing one to interact with the image</div>
<div>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&#39;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.</div>
<div>c) a threaded version of the ODBC connect that hasn&#39;t really been tested</div><div><br></div><div>etting you and others to start pounding on these would be fantastic.  Just a matter of finding time.  f you&#39;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&#39;ve made sure are backward compatible and don&#39;t break trunk I&#39;m going ot be much slower.</div>
<div><br></div><div>best regards (albeit feeling a little frazzled :-) ),</div><div>Eliot</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<br>
El 23/03/2011, a las 10:44a.m., Esteban Lorenzano escribió:<br>
<div><div></div><div class="h5"><br>
&gt; Hi,<br>
&gt; I&#39;m trying to build latest oscog... and, well, I wonder how can I test the MT FFI? Or the reentrant FFI?<br>
&gt;<br>
&gt; Thanks,<br>
&gt; Esteban<br>
<br>
</div></div></blockquote></div><br>