Boost logo

Boost :

Subject: Re: [boost] [thread] countdown_latch
From: Vicente J. Botet Escriba (vicente.botet_at_[hidden])
Date: 2013-05-26 06:28:25

Le 26/05/13 10:01, Michael Marcin a écrit :
> On 5/26/2013 2:53 AM, Vicente J. Botet Escriba wrote:
>> Le 25/05/13 15:51, Gaetano Mendola a écrit :
>>> I'm also to remove the precondition counter > 0 on the
>>> latc::count_down.
>> I don't see yet the case of a thread using countdown several times the
>> same latch as a valid use case. But maybe if you post a concrete (real)
>> example, it could make me change.
> What about adding try_count_down like I suggested?
Yes, this will be the right direction if there is a valid use case.


Boost list run by bdawes at, gregod at, cpdaniel at, john at