[plt-scheme] ffi & errno

From: YC (yinso.chen at gmail.com)
Date: Fri Jul 25 03:35:01 EDT 2008

On Fri, Jul 25, 2008 at 12:23 AM, Eli Barzilay <eli at barzilay.org> wrote:

> On Jul 24, YC wrote:
> >
> > Is this even close?  I imagine that it's possible for mzscheme to set
> errno
> > before I retrieve the value...
> That's exactly the problem.
Given errno is thread local, could separate thread for ffi (such as the
async ffi idea described in
http://www.cs.brown.edu/pipermail/plt-scheme/2007-July/019446.html) work in
such case?

Obviously multi-threaded ffi is a huge effort in its own right...

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20080725/f118da02/attachment.html>

Posted on the users mailing list.