
16 Dec
2018
16 Dec
'18
9:53 p.m.
On Tue, Dec 11, 2018, 6:35 PM Gavin Lambert via Boost <boost@lists.boost.org wrote: 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 accomplish. 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 work.