Boost logo

Boost :

Subject: Re: [boost] [thread] countdown_latch
From: Michael Marcin (mike.marcin_at_[hidden])
Date: 2013-05-14 16:11:18


On 5/14/13 2:21 PM, Gaetano Mendola wrote:
>
> Given it has a clearly inspiration on Java one I would leave it like it
> it now with the excpetion to permit count_down even if the counter is
> zero already.
>

I've seen that the Java one supports that, but most c++ implementations
seem to not.

What is the purpose of allowing count_down when the counter is already
zero? What useful functionality does it enable?


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk