[Haskell-beginners] Parallel mutation
jon at ffconsultancy.com
Tue Dec 8 22:05:45 EST 2009
On Tuesday 08 December 2009 21:37:41 Daniel Fischer wrote:
> Am Dienstag 08 Dezember 2009 21:56:45 schrieb Jon Harrop:
> > Can you mutate different parts of the same array from different threads
> > in parallel using GHC? Someone once told me this was possible but I
> > cannot see how...
> You can (take a look at Control.Concurrent), but very probably ***You
> really shouldn't***, so I won't elaborate.
> What would you want to do that for?
Efficiency, e.g. parallel quicksort.
Dr Jon Harrop, Flying Frog Consultancy Ltd.
More information about the Beginners