[Haskell-cafe] Atomically modify two MVars
Lian Hung Hon
hon.lianhung at gmail.com
Thu Nov 10 12:53:34 UTC 2016
I see. Thanks Michael!
On 10 November 2016 at 20:36, Michael Walker <mike at barrucadu.co.uk> wrote:
> No, unless you have a third MVar to control access to the first two
> (which doesn't really scale, and is the entire point of STM!)
> On 10 November 2016 at 12:34, Lian Hung Hon <hon.lianhung at gmail.com>
> > Dear cafe,
> > Is it possible to atomically modify two MVars? (I know it can be done
> > TVars)
> > Regards,
> > Hon
> > _______________________________________________
> > Haskell-Cafe mailing list
> > To (un)subscribe, modify options or view archives go to:
> > http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe
> > Only members subscribed via the mailman list are allowed to post.
> Michael Walker (http://www.barrucadu.co.uk)
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Haskell-Cafe