Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
Some of the tests use stackful coroutines (
boost::asio::spawn), which creates a risky dependence on an extra component. These tests can be replaced with the style of manually advancing the operations by callingio_context::run_onestrategically, as is done in some of the newer tests.To make this even easier, we can introduce a new completion token type for tests which simply advances the I/O context until a condition is met and then returns, turning asynchronous calls into blocking calls. Example: