Re: [racket-users] Using Futures with FFI functions

2016-06-27 Thread Carlos Lopez
I tried it and it works; the c pointer is able to travel via the channel and it can then be used as usual. Thanks for the suggestion. carlos On Friday, June 24, 2016 at 12:10:18 PM UTC-4, Matthew Flatt wrote: > The runtime system currently cannot call a foreign function without > suspending a

Re: [racket-users] Using Futures with FFI functions

2016-06-24 Thread Matthew Flatt
The runtime system currently cannot call a foreign function without suspending a future. Supporting that operation is not out of the question, but I don't think it will be easy. Would using places work in this case --- creating one or more places on start-up to serve data from the C library? At