MCPcopy Create free account
hub / github.com/Cantera/cantera / removeThreadMessages

Method removeThreadMessages

src/base/application.cpp:73–81  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

71}
72
73void Application::ThreadMessages::removeThreadMessages()
74{
75 std::unique_lock<std::mutex> msgLock(msg_mutex);
76 std::thread::id curId = std::this_thread::get_id();
77 auto iter = m_threadMsgMap.find(curId);
78 if (iter != m_threadMsgMap.end()) {
79 m_threadMsgMap.erase(iter);
80 }
81}
82
83Application::Application()
84{

Callers 1

thread_completeMethod · 0.80

Calls 2

eraseMethod · 0.80
endMethod · 0.45

Tested by

no test coverage detected