MCPcopy Create free account
hub / github.com/Kitware/VTK / Sync

Method Sync

Common/Core/vtkThreadedCallbackQueue.cxx:195–199  ·  view source on GitHub ↗

-----------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

193
194//-----------------------------------------------------------------------------
195void vtkThreadedCallbackQueue::Sync(int startId)
196{
197 std::for_each(this->Threads.begin() + startId, this->Threads.end(),
198 [](std::thread& thread) { thread.join(); });
199}
200
201//-----------------------------------------------------------------------------
202void vtkThreadedCallbackQueue::PopFrontNullptr()

Callers 2

SetNumberOfThreadsMethod · 0.95

Calls 4

for_eachFunction · 0.50
beginMethod · 0.45
endMethod · 0.45
joinMethod · 0.45

Tested by

no test coverage detected