13 Aug
2024
13 Aug
'24
2:49 p.m.
On Tue, Aug 13, 2024 at 3:32 PM olk via Boost
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.