MCPcopy Create free account
hub / github.com/Icinga/icinga2 / Restart

Method Restart

lib/base/threadpool.cpp:43–52  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

41}
42
43void ThreadPool::Restart()
44{
45 boost::unique_lock<decltype(m_Mutex)> lock (m_Mutex);
46
47 if (m_Pool) {
48 m_Pool->join();
49 }
50
51 InitializePool();
52}

Callers 1

icinga.cppFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected