[Haskell-cafe] System threads?

Bulat Ziganshin bulat.ziganshin at gmail.com
Wed Sep 20 04:32:56 EDT 2006


Hello Lyle,

Wednesday, September 20, 2006, 6:45:47 AM, you wrote:

> separate CPUs. Either each thread needs to write to the same IO handle,

it's ok in GHC

> I'm working on Linux. What's the easiest way to accomplish this? Glasgow
> Parallel Haskell? Is there a Posix.Threads library? I understand that 
> Haskell threads (Control.Concurrent) all run in one system thread, so 
> would not take advantage of SMP.

ghc 6.6 uses SMP even for Haskell threads:

http://www.haskell.org/ghc/dist/current/docs/users_guide/release-6-6.html

it's going to be released in a few days, you can also download current
RC versions


-- 
Best regards,
 Bulat                            mailto:Bulat.Ziganshin at gmail.com



More information about the Haskell-Cafe mailing list