3 Apr
2006
3 Apr
'06
9:14 p.m.
On 4/3/06, John Meacham <john@repetae.net> wrote:
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 <taralx@gmail.com> "You can't prove anything." -- Gödel's Incompetence Theorem