[Haskell-cafe] Go parallel

Don Stewart dons at galois.com
Tue Nov 6 13:57:31 EST 2007

> 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

More information about the Haskell-Cafe mailing list