[Haskell-cafe] forkIO preemption

S. Alexander Jacobson haskell at alexjacobson.com
Mon Jun 7 17:58:42 EDT 2004

When you forkIO and one of the threads blocks
(e.g. on a socket or a readchan), do execution
automatically resume on other threads and does the
blocked thread consume timeslices while it is

In other words, is there any performance
penalty in setting timeslices very large in a
server app (where all I care about is throughput)?


S. Alexander Jacobson                  mailto:me at alexjacobson.com
tel:917-770-6565                       http://alexjacobson.com

More information about the Haskell-Cafe mailing list