MCPcopy Create free account
hub / github.com/Kitware/VTK / ~vtkThreadedCallbackQueue

Method ~vtkThreadedCallbackQueue

Common/Core/vtkThreadedCallbackQueue.cxx:106–118  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

104
105//-----------------------------------------------------------------------------
106vtkThreadedCallbackQueue::~vtkThreadedCallbackQueue()
107{
108 {
109 std::lock_guard<std::mutex> destroyLock(this->DestroyMutex);
110 {
111 std::lock_guard<std::mutex> lock(this->Mutex);
112 this->Destroying = true;
113 }
114 }
115
116 this->ConditionVariable.notify_all();
117 this->Sync();
118}
119
120//-----------------------------------------------------------------------------
121void vtkThreadedCallbackQueue::SetNumberOfThreads(int numberOfThreads)

Callers

nothing calls this directly

Calls 1

SyncMethod · 0.95

Tested by

no test coverage detected