| 83 | } |
| 84 | |
| 85 | void |
| 86 | ExistenceCheckerThread::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 | |
| 102 | void |
| 103 | ExistenceCheckerThread::run() |
no outgoing calls
no test coverage detected