| 87 | } |
| 88 | |
| 89 | void |
| 90 | ExistenceCheckerThread::quitThread() |
| 91 | { |
| 92 | if ( !isRunning() ) { |
| 93 | return; |
| 94 | } |
| 95 | { |
| 96 | QMutexLocker k(&_imp->mustQuitMutex); |
| 97 | assert(!_imp->mustQuit); |
| 98 | _imp->mustQuit = true; |
| 99 | while (_imp->mustQuit) { |
| 100 | _imp->mustQuitCond.wait(k.mutex()); |
| 101 | } |
| 102 | } |
| 103 | wait(); |
| 104 | } |
| 105 | |
| 106 | void |
| 107 | ExistenceCheckerThread::run() |
no outgoing calls
no test coverage detected