Boost logo

Boost :

Subject: Re: [boost] Boost.Fiber mini-review September 4-13
From: Oliver Kowalke (oliver.kowalke_at_[hidden])
Date: 2015-09-04 22:24:27


2015-09-05 0:32 GMT+02:00 Giovanni Piero Deretta <gpderetta_at_[hidden]>:

>
> I believe that a future can be implemented efficiently without any internal
> mutex or condition variable (which would relegated only to the wait side).
> A spin lock might be needed to implement a tiny critical session in 'then'
> or 'wait' for shared_futures, but that's it.
>

that's what the non-allocating future does

> My suggestion is to convince Vicente to implement such functionality in
> Boost.Thread.
>

but Niall has already done the job in boost.monad


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