Subject: Re: [boost] Mixing async/sync code thanks to boost::context
From: Nat Goodspeed (nat_at_[hidden])
Date: 2018-12-16 21:53:26
On Tue, Dec 11, 2018, 6:35 PM Gavin Lambert via Boost <boost_at_[hidden]
Boost.Fiber for a slightly different solution space.
Christophe, have you looked at Boost.Fiber? That's a library built on
Boost.Context that lets you write synchronous-looking code that makes
asynchronous calls - without having to change calling code. Without reading
through what you posted, it sounds as though that's what you're trying to
The nice thing about Boost.Context is that once you have that, you can
build different APIs on it that can, in various ways, support the control
inversion characteristic of "stackful coroutines."
But if you haven't yet researched Fiber, that library might save you some
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk