MCPcopy Create free account
hub / github.com/boostorg/asio / main

Function main

example/cpp11/tutorial/timer5/timer.cpp:72–81  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

70};
71
72int main()
73{
74 boost::asio::io_context io;
75 printer p(io);
76 std::thread t([&]{ io.run(); });
77 io.run();
78 t.join();
79
80 return 0;
81}

Callers

nothing calls this directly

Calls 2

runMethod · 0.45
joinMethod · 0.45

Tested by

no test coverage detected