[Haskell-cafe] Unbound threads and FFI

Simon Peyton-Jones simonpj at microsoft.com
Thu Dec 15 04:07:33 EST 2005

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

Please do improve it.


| -----Original Message-----
| From: haskell-cafe-bounces at haskell.org
[mailto:haskell-cafe-bounces at haskell.org] On Behalf Of Joel
| Reymont
| Sent: 14 December 2005 14:37
| To: Haskell-Cafe Cafe
| Subject: [Haskell-cafe] Unbound threads and FFI
| How do unbound threads play with FFI? According to Simon PJ, each
| foreign call will get its own OS thread if its blocked.
| How does GHC determine if the call is blocked? Does each call get its
| own OS thread from the start? Sometime later? Does this depend on the
| safe/unsafe specs of the foreign call?
| Does the above change if a threaded/non-threaded runtime is in use?
| 	Thanks, Joel
| --
| http://wagerlabs.com/
| _______________________________________________
| Haskell-Cafe mailing list
| Haskell-Cafe at haskell.org
| http://www.haskell.org/mailman/listinfo/haskell-cafe

More information about the Haskell-Cafe mailing list