MCPcopy Create free account
hub / github.com/MrKepzie/Natron / quitThread

Method quitThread

Engine/ExistenceCheckThread.cpp:85–100  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

83}
84
85void
86ExistenceCheckerThread::quitThread()
87{
88 if ( !isRunning() ) {
89 return;
90 }
91 {
92 QMutexLocker k(&_imp->mustQuitMutex);
93 assert(!_imp->mustQuit);
94 _imp->mustQuit = true;
95 while (_imp->mustQuit) {
96 _imp->mustQuitCond.wait(&_imp->mustQuitMutex);
97 }
98 }
99 wait();
100}
101
102void
103ExistenceCheckerThread::run()

Callers 9

handleBlockingTaskMethod · 0.45
quitEngineMethod · 0.45
onQuitRequestedMethod · 0.45
~AppManagerMethod · 0.45
~TrackerPanelV1Method · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected