2
0
mirror of https://github.com/boostorg/asio.git synced 2026-01-23 17:32:07 +00:00
Files
asio/example/cpp11/spawn/echo_server.cpp
Christopher Kohlhoff 5bbdc9b709 Change spawn() to be a completion token-based async operation.
Added new spawn() overloads that conform to the requirements for
asynchronous operations. These overloads also support cancellation. When
targeting C++11 and later these functions are implemented in terms of
Boost.Context directly.

The existing overloads have been retained but are deprecated.
2022-06-30 01:18:45 +10:00

2.8 KiB