Boost logo

Boost :

Subject: Re: [boost] Common future base class (was Re: Boost.Fibermini-review September 4-13)
From: Gavin Lambert (gavinl_at_[hidden])
Date: 2015-09-07 19:25:53


On 8/09/2015 03:30, Nat Goodspeed wrote:
>>> Could you describe briefly what this example does? Is it just workers
>>> racing (in the good sense) to satisfy the promise? Or does serialization
>>> of set_xxx calls matter?
>
>> It's just workers racing to satisfy the promise. The first one to do so
>> sets the value, the rest get an exception.
>
> Seems like that could be the basis for a nice when_any?

Races to get exceptions in the common case does not satisfy any meaning
of the word "nice".


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