2
0
mirror of https://github.com/boostorg/asio.git synced 2026-01-19 04:02:09 +00:00
Files
asio/test/co_spawn.cpp
Christopher Kohlhoff 7e51960177 Make co_spawn adhere to async op requirement for non-reentrant completion.
Previously, co_spawn-ing the following coroutine:

  awaitable<void> foo()
  {
    co_await dispatch(use_awaitable);
  }

would result in a call to the completion handler from within co_spawn.
2025-08-05 08:09:27 +10:00

4.1 KiB