MCPcopy Create free account
hub / github.com/COVESA/vsomeip / stop

Method stop

implementation/endpoints/src/auxiliary_context.cpp:50–62  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

48}
49
50void vsomeip_v3::auxiliary_context::stop() {
51 context_.stop();
52
53 try {
54 auto thread_id = thread_.get_id();
55 if (std::this_thread::get_id() != thread_id && thread_.joinable()) {
56 thread_.join();
57 VSOMEIP_INFO << "Joined thread m_auxiliary, id " << std::hex << thread_id;
58 }
59 } catch (...) {
60 // Ignore exception if thread already joined
61 }
62}

Callers

nothing calls this directly

Calls 3

get_idFunction · 0.85
get_idMethod · 0.45
joinMethod · 0.45

Tested by

no test coverage detected