[plt-scheme] FFI + errno

From: YC (yinso.chen at gmail.com)
Date: Wed Dec 9 22:53:01 EST 2009

On Wed, Dec 9, 2009 at 10:07 AM, Matthew Flatt <mflatt at cs.utah.edu> wrote:

> I'll think more about how to solve this in the FFI, though. Most
> problems like this can be solved with atomic mode, but `errno' is a
> special case. Probably the FFI should provide more direct support for
> getting the right `errno' value.
Matthew -

Assuming Kevin's work with multicore is done - would this still be an issue
at that time?

Perhaps a system thread can be instantiated and exposed via FFI so the FFI
call can live on a separate thread from the vm's main thread?

I am just thinking out loud.  You know what works or not much better, of
course ;)

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

Posted on the users mailing list.