Changeset 48910 in vbox for trunk/src/VBox/Frontends/VirtualBox
- Timestamp:
- Oct 6, 2013 10:34:17 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/globals/UIThreadPool.cpp
r48908 r48910 82 82 , m_cIdleWorkers(0) 83 83 , m_fTerminating(false) /* termination status */ 84 , m_everythingLocker(QMutex:: Recursive)84 , m_everythingLocker(QMutex::NonRecursive) 85 85 { 86 86 } … … 156 156 } 157 157 158 /** 159 * Checks if the thread pool is terminating. 160 * 161 * @returns @c true if terminating, @c false if not. 162 * @note Do NOT call this while owning the thread pool mutex! 163 */ 158 164 bool UIThreadPool::isTerminating() const 159 165 { … … 198 204 199 205 bool fIdleTimedOut = false; 200 while (! isTerminating())206 while (!m_fTerminating) 201 207 { 202 208 Assert(m_workers[pWorker->getIndex()] == pWorker); /* paranoia */
Note:
See TracChangeset
for help on using the changeset viewer.