Boost logo

Boost :

Subject: Re: [boost] [thread] Is there a non-blocking future-destructor?
From: Vicente J. Botet Escriba (vicente.botet_at_[hidden])
Date: 2015-10-11 15:27:21


Le 11/10/15 21:24, Vicente J. Botet Escriba a écrit :
> Le 11/10/15 20:43, Mikael Olenfalk a écrit :
> The current implementation of feature is broken (at least respect to
> what the standard TS Concurrency says) as the future resulting from
> ::then() should not blocks.
>
> I have a branch
> (https://github.com/boostorg/thread/tree/feature/non_blocking_futures)
> that don't blocks on any future, but this will break async.
> I have another branch that has copyable executors and non-blocking
> futures
> (https://github.com/boostorg/thread/tree/feature/make_executors_copyable).
>
BTW, I'm merging the fix to inherit the executor from the parent in
these branches. So if you need this fix it woul dbe better to wait a
little bit more.

Vicente


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