[Haskell] Pugs gains SMP parallelism support.

Audrey Tang autrijus at gmail.com
Sun Oct 22 13:14:23 EDT 2006


=A6b Oct 21, 2006 5:14 PM =AE=C9=A1ATaral =BCg=A8=EC=A1G

> On 10/21/06, Audrey Tang <autrijus at gmail.com> wrote:
>> > let proc n x =3D do
>>
>> Hmm, am I missing something here, but how does forkIO (and data
>> parallelism) fit in into that scheme?
>
> I R DUM.
>
> let proc n x =3D forkIO $ do

I just implemented it that way, and benchmarking shows little or no =20
parallelism gain is made by it,
compared to the [MVar] approach suggested by Sebastian Sylvan =20
( http://pugs.blogs.com/pugs/2006/10/more_smp_parall.html )...

But thanks a lot for the help. :-)

Cheers,
Audrey=


More information about the Haskell mailing list