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

Method run

example/cpp11/http/server/server.cpp:49–56  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

47}
48
49void server::run()
50{
51 // The io_context::run() call will block until all asynchronous operations
52 // have finished. While the server is running, there is always at least one
53 // asynchronous operation outstanding: the asynchronous accept call waiting
54 // for new incoming connections.
55 io_context_.run();
56}
57
58void server::do_accept()
59{

Callers 15

mainFunction · 0.45
mainFunction · 0.45
mainFunction · 0.45
mainFunction · 0.45
mainFunction · 0.45
mainFunction · 0.45
mainFunction · 0.45
mainFunction · 0.45
mainFunction · 0.45
mainFunction · 0.45
mainFunction · 0.45
mainFunction · 0.45

Calls

no outgoing calls

Tested by 15

test_callbackFunction · 0.36
test_deferredFunction · 0.36
test_futureFunction · 0.36
test_callbackFunction · 0.36
test_deferredFunction · 0.36
test_callbackFunction · 0.36
test_deferredFunction · 0.36
test_futureFunction · 0.36
test_callbackFunction · 0.36
test_deferredFunction · 0.36
test_futureFunction · 0.36
test_callbackFunction · 0.36