Proposal: add forkOnIO and friends to Control.Concurrent:

Brandon S Allbery KF8NH allbery at ece.cmu.edu
Sat Jan 1 19:59:39 CET 2011


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 12/23/10 20:57 , Thomas Schilling wrote:
> I also find the name 'forkOnIO' extremely confusing.  Without reading
> the docs it seems to imply that a thread is created on IO, i.e., if
> I/O happens.  This makes no sense, and is of course not what's
> happening.  However, I assume you chose it because forkIOOn looks a
> bit weird.  In that case, why not use forkThreadOn, and in a separate
> proposal change forkIO to forkThread (or just fork).

+1
The name "forkIO" always seemed a bit odd to me; aren't threads pretty much
constrained to IO anyway?

- -- 
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 v1.4.11 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk0feW4ACgkQIn7hlCsL25VwlwCgguYST7bQcgfCQyvFBZUGuccw
q+4An2xxGURPI7rMjHiuejEqfS/pc7Q5
=egAU
-----END PGP SIGNATURE-----



More information about the Libraries mailing list