Changeset 22849 in vbox
- Timestamp:
- Sep 8, 2009 9:16:41 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/glue/EventQueue.cpp
r22847 r22849 319 319 Event* aEvent = NULL; 320 320 321 fHasEvent = waitForEvent(&aEvent);321 BOOL fHasEvent = waitForEvent(&aEvent); 322 322 if (fHasEvent) 323 323 handleEvent(aEvent); … … 330 330 MyThreadHandle aHandle; 331 331 332 DWORD aCode = MsgWaitForMultipleObjects(1, &aHandle.mh,333 TRUE /*fWaitAll*/,334 0 /*ms*/,335 QS_ALLINPUT);336 if (aCode == WAIT_TIMEOUT)332 DWORD aCode2 = MsgWaitForMultipleObjects(1, &aHandle.mh, 333 TRUE /*fWaitAll*/, 334 0 /*ms*/, 335 QS_ALLINPUT); 336 if (aCode2 == WAIT_TIMEOUT) 337 337 rc = VERR_TIMEOUT; 338 else if (aCode == WAIT_OBJECT_0)338 else if (aCode2 == WAIT_OBJECT_0) 339 339 rc = VINF_SUCCESS; 340 340 else
Note:
See TracChangeset
for help on using the changeset viewer.