11 Oct
2015
11 Oct
'15
7:27 p.m.
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