MCPcopy Create free account
hub / github.com/Tom94/tev / waitUntilFinished

Method waitUntilFinished

src/ThreadPool.cpp:107–111  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

105}
106
107void ThreadPool::waitUntilFinished() {
108 while (mThreads.size() > 0 && mNumTasksInSystem > 0) {
109 this_thread::sleep_for(1ms);
110 }
111}
112
113void ThreadPool::waitUntilFinishedFor(const chrono::microseconds duration) {
114 const auto now = chrono::steady_clock::now();

Callers 1

mainFuncFunction · 0.80

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected