
6 Nov
2007
6 Nov
'07
1:57 p.m.
andrewcoppin:
Tim Docker wrote:
Is it possible to use the forkIO primitive to cause pure computations to be evaluated in parallel threads?
Somebody correct me here - I was under the impression that you only ever need forkIO if you're doing something strange with FFI, and usually you just want fork?
That's incorrect. forkIO is *the* basic threading primitive for fast, light Haskell threads. You might be thinking of 'forkOS' -- that's for weird FFI strangeness. -- Don