id summary reporter owner description type status milestone component version severity resolution keywords cc 9442 boost::asio::spawn does nothing when coroutines v2 are enabled drigh@… chris_kohlhoff "Following code works as expected (i.e. prints 'works'). However, it prints nothing if you uncomment lines that enable (or try to enable) use of coroutines v2 in spawn. {{{ #include #include //#define BOOST_COROUTINES_UNIDIRECT //#define BOOST_COROUTINES_V2 #include #include void foo(boost::asio::yield_context ctx) { std::cout << ""works!"" << std::endl; } int main() { boost::asio::io_service srv; boost::asio::spawn(srv, std::bind(foo, std::placeholders::_1)); srv.run(); } }}} I am not sure if asio is intentionally not using new coroutines interface by default, but this seems pretty important thing going forward." Bugs closed To Be Determined asio Boost 1.55.0 Problem fixed