[Haskell-cafe] Concurrency questions
Spencer Janssen
sjanssen at cse.unl.edu
Mon Jan 7 18:42:02 EST 2008
On Mon, Jan 07, 2008 at 09:40:29PM +0000, Andrew Coppin wrote:
> Well, I was thinking more of using them for two things. One is for
> speculative work (i.e., doing work which we might need later - but don't
> bother unless there's cores going spare).
For (pure) speculative tasks, try Control.Parallel.par.
> Mmm, OK. I'll try that. (I wasn't actually aware that STM is working
> yet...)
STM has been available for quite awhile, as early as GHC 6.4 if memory serves.
Cheers,
Spencer Janssen
More information about the Haskell-Cafe
mailing list