MCPcopy Create free account
hub / github.com/Tom94/tev / ~ThreadPool

Method ~ThreadPool

src/ThreadPool.cpp:38–45  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

36}
37
38ThreadPool::~ThreadPool() {
39 waitUntilFinished();
40 shutdown();
41
42 while (!mThreads.empty()) {
43 this_thread::sleep_for(1ms);
44 }
45}
46
47void ThreadPool::startThreads(size_t num) {
48 const scoped_lock lock{mThreadsMutex};

Callers

nothing calls this directly

Calls 1

emptyMethod · 0.45

Tested by

no test coverage detected