Simon,

I could not find the paper at the link below but it can be found here:

http://www.haskell.org/~simonmar/papers/conc-ffi.pdf

The paper does not explain the differences I'm seeing between runs of my program linked with the threaded and non-threaded runtimes. I get crashes with the threaded runtime (sent to both you and Simon) and things run slowly. With the non-threaded runtime everything flies.

All my FFI calls are marked unsafe and thus should be blocking in both runtimes so I cannot explain the differences.

        Thanks, Joel

On Dec 15, 2005, at 9:07 AM, Simon Peyton-Jones wrote:

Did you read the paper Extending the Haskell Foreign Function Interface
with Concurrency, described in the GHC Wiki page about concurrency?
It'd be a good start
http://hackage.haskell.org/trac/ghc/wiki/GhcConcurrency

--
http://wagerlabs.com/





_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to