Changeset 806 for trunk/src/corelib/io
- Timestamp:
- Oct 26, 2010, 1:27:02 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/corelib/io/qfilesystemwatcher_os2.cpp
r805 r806 57 57 // is normally the Workplace Shell so there is no way for other applications 58 58 // to use this handy API. In order to overcome this limitation, XWorkplace 59 // ( which is a Workplace Shell extension which lives in the same process)59 // () 60 60 // takes over the WPS change notification function and extends it by sinking 61 61 // all changes to a named pipe. This pipe is utilized by this class to get … … 205 205 isRunning = false; 206 206 DosPostEventSem(eventSem); 207 locker.unlock();208 wait();209 207 } 210 208 … … 225 223 qDosNI(arc = DosWaitEventSem(eventSem, SEM_INDEFINITE_WAIT)); 226 224 locker.relock(); 227 225 228 226 if (!isRunning) 229 227 break; … … 319 317 isRunning = false; 320 318 DosPostEventSem(eventSem); 321 locker.unlock(); 322 wait(); 319 // note: the caller of stop() will wait() if necessary 323 320 } 324 321 }
Note:
See TracChangeset
for help on using the changeset viewer.