-----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] allb...@kf8nh.com system administrator [openafs,heimdal,too many hats] allb...@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----- _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe