MCPcopy Create free account
hub / github.com/actor-framework/actor-framework / start

Method start

libcaf_net/caf/net/middleman.cpp:112–119  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

110}
111
112void middleman::start() {
113 auto fn = [this] {
114 mpx_->set_thread_id();
115 mpx_->run();
116 };
117 mpx_thread_ = sys_.launch_thread("caf.net.mpx", thread_owner::system, fn);
118 launch_background_tasks(sys_);
119}
120
121void middleman::stop() {
122 mpx_->shutdown();

Callers 1

launch_prom_serverFunction · 0.45

Calls 3

launch_background_tasksFunction · 0.85
set_thread_idMethod · 0.80
runMethod · 0.45

Tested by

no test coverage detected