
3 Apr
2006
3 Apr
'06
9:14 a.m.
On 4/3/06, John Meacham
the tasks for which state-threads work well for are IO bound multiplexing tasks, pthreads are better for CPU-bound tasks.
Why not make this explicit?
forkCPU :: IO () -> IO ()
On systems incapable of preemption, forkCPU = id. The semantics of
forkCPU is that the computation involved in the argument is
time-consuming and should not block other computations if possible.
--
Taral