On 4/3/06, John Meacham <[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED]>
"You can't prove anything."
-- Gödel's Incompetence Theorem
_______________________________________________
Haskell-prime mailing list
[email protected]
http://haskell.org/mailman/listinfo/haskell-prime