[Haskell-cafe] ANN: concurrent-extra-0.1

Felipe Lessa felipe.lessa at gmail.com
Wed Feb 17 13:41:28 EST 2010


On Wed, Feb 17, 2010 at 05:11:45PM +0100, Roel van Dijk wrote:
> On Wed, Feb 17, 2010 at 3:27 PM, Felipe Lessa <felipe.lessa at gmail.com> wrote:
> > In release (l. 142) Nothing is put into mv
> >
> >                        then do Lock.release lock
> >                                putMVar mv Nothing
>
> I'm not sure if that was a bug in the original. In the new
> version we put the lock back inside the MVar.

I think it was workable, I've referenced the code just to make
the e-mail more self-contained.  That Nothing was going to stay
after the inner Lock was acquired. :)

Cheers,

--
Felipe.


More information about the Haskell-Cafe mailing list