[Haskell-cafe] are forkIO threads event-driven?
aran.donohue at gmail.com
Thu Apr 29 18:26:20 EDT 2010
In GHC, if a thread spawned by forkIO blocks on some network or disk IO, is
the threading system smart enough not to wake the thread until an IO event
occurs on its input/output? The Control.Concurrent documentation doesn't
specify, and the previous discussions I could find on this topic are
out-of-date. There is a years-old GHC ticket, too, recently revived.
Put another way, is it possible yet to use forkIO for making a server to
handle tens of thousands of concurrent network connections? If not, what is
the best current Haskell/GHC way?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Haskell-Cafe