[Haskell-cafe] Go parallel

Andrew Coppin andrewcoppin at btinternet.com
Tue Nov 6 14:53:35 EST 2007


Don Stewart wrote:
> andrewcoppin:
>   
>> 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.
>   

Yeah, I think you're right.

(Hmm... Is there even a function named just "fork"?)



More information about the Haskell-Cafe mailing list