|
Boost : |
Subject: Re: [boost] Promise/A+ like javascript in cpp
From: Nat Goodspeed (nat_at_[hidden])
Date: 2018-07-27 20:25:31
On Fri, Jul 27, 2018, 1:58 AM Gavin Lambert via Boost <boost_at_[hidden]>
wrote:
Boost.Fiber
> (https://www.boost.org/doc/libs/1_67_0/libs/fiber/doc/html/index.html)
> is another way. This also supports futures, although not currently
> then-able ones.
>
Boost.Fiber doesn't need fibers::future::then - just suspend the fiber. If
you need more concurrency than that, launch another fiber. then() is
redundant with coroutine and fiber concurrency.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk