Boost logo

Boost :

From: Thomas Fowlery (thomas.fowlery.yes_at_[hidden])
Date: 2024-08-13 14:49:21


On Tue, Aug 13, 2024 at 3:32 PM olk via Boost <boost_at_[hidden]> wrote:

> You could use boost::asio::spawn() (utilizes stackful coroutines).
>

Hmm, thanks. My concern with this is having to pass the
boost::asio::yield_context parameter everywhere. I suppose I could use a
thread_local to pass the parameter implicitly somehow, although I'm not
sure how to do it safely in this context.


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