Hi ..
Thanks ..
But I keep get error when I run the program in order to see the result . It
says 'var' is not in the scope.
Mozhgan
Date: Tue, 16 Dec 2008 05:54:40 -0700
From: lrpal...@gmail.com
To: mozhgan_...@hotmail.com
Subject: Re: [Haskell-cafe] Re: MVar and Par .
On Tue, Dec 16, 2008 at 5:54 AM, Luke Palmer wrote:
> Okay, that's a bit clearer. Control.Parallel is not what you want; that is
> for parallelizing pure code (and is very nice inside its little domain).
> But you want concurrent code: multiple threads that change state at the same
> time. That
Okay, that's a bit clearer. Control.Parallel is not what you want; that is
for parallelizing pure code (and is very nice inside its little domain).
But you want concurrent code: multiple threads that change state at the same
time. That is in Control.Concurrent.
In particular, the "shared variabl
Hi ,
Yeah , first I want to get unexpected answer ! And then I want to prove that
when I use MVar I will get the write answer.I want to show that when we have a
shared variable, we should use MVar.Besides we use for example two processors
to do different tasks.But the point is these processo