<div dir="ltr"><br><div class="gmail_quote">On Fri, Jul 25, 2008 at 12:23 AM, Eli Barzilay <<a href="mailto:eli@barzilay.org">eli@barzilay.org</a>> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div><div></div><div class="Wj3C7c">On Jul 24, YC wrote:<br><br>
><br>
> Is this even close? I imagine that it's possible for mzscheme to set errno<br>
> before I retrieve the value...<br>
<br>
</div></div>That's exactly the problem.<br>
<font color="#888888"><br></font></blockquote><div><br>Given errno is thread local, could separate thread for ffi (such as the async ffi idea described in <a href="http://www.cs.brown.edu/pipermail/plt-scheme/2007-July/019446.html">http://www.cs.brown.edu/pipermail/plt-scheme/2007-July/019446.html</a>) work in such case? <br>
<br>Obviously multi-threaded ffi is a huge effort in its own right... <br><br>Thanks,<br>yc<br><br></div></div></div>