[Haskell-cafe] ANNOUNCE: DSTM 0.1.1
Brandon S Allbery KF8NH
allbery at ece.cmu.edu
Wed Aug 4 23:31:41 EDT 2010
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 8/4/10 17:16 , Andrew Coppin wrote:
> I have a vague recollection of there being a situation to do with calling
> foreign code that makes all Haskell threads block in the non-threaded RTS,
> but not in the threaded one. Depending on how big your send and receive
Well, yes. This should be obvious; code invoked via the FFI can't be
cooperatively multitasked by the Haskell runtime (how would you accomplish
this? Think about it), and preemptive multitasking is only possible via OS
threads.
- --
brandon s. allbery [linux,solaris,freebsd,perl] allbery at kf8nh.com
system administrator [openafs,heimdal,too many hats] allbery at ece.cmu.edu
electrical and computer engineering, carnegie mellon university KF8NH
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.10 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAkxaMJ0ACgkQIn7hlCsL25VqHwCgl3z84LQIpr6RfA2rGOmevU2x
miYAnjnpwVR+yEQiynXfk3JGQZv32YfY
=uEjB
-----END PGP SIGNATURE-----
More information about the Haskell-Cafe
mailing list