| 39 | #if defined(BOOST_COBALT_BENCH_WITH_CONTEXT) |
| 40 | |
| 41 | void stest(asio::yield_context ctx) |
| 42 | { |
| 43 | asio::experimental::channel<void(system::error_code)> chan{ctx.get_executor(), 1u}; |
| 44 | for (std::size_t i = 0u; i < n; i++) |
| 45 | { |
| 46 | chan.async_send(system::error_code{}, ctx); |
| 47 | chan.async_receive(ctx); |
| 48 | } |
| 49 | } |
| 50 | #endif |
| 51 | |
| 52 |
nothing calls this directly
no test coverage detected