Boost logo

Boost :

From: Christian Mazakas (christian.mazakas_at_[hidden])
Date: 2023-07-27 17:04:12


I think I may've misunderstood everything.

I was under the impression that Async could support custom
awaitables but I don't believe it can.

Or at least, I'd need to see an actual example of this being
authored.

Purport that I wanted to author an awaitable that spawned
work on a thread pool in its `await_suspend()` method. Do I
just use the awaiting coro's executor to post() back to Async's
event loop? What should I actually be posting back? Just a
simple callable that invokes `h.resume()`?

- Christian


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