[plt-scheme] ffi & errno
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...
Thanks,
yc
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20080725/f118da02/attachment.html>