Changeset 85239 in vbox
- Timestamp:
- Jul 11, 2020 11:00:38 PM (4 years ago)
- File:
-
- 1 edited
-
trunk/src/VBox/Main/src-all/EventImpl.cpp (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/src-all/EventImpl.cpp
r82968 r85239 214 214 alock.release(); 215 215 /** @todo maybe while loop for spurious wakeups? */ 216 int vrc = ::RTSemEventWait(m->mWaitEvent, aTimeout );216 int vrc = ::RTSemEventWait(m->mWaitEvent, aTimeout < 0 ? RT_INDEFINITE_WAIT : (RTMSINTERVAL)aTimeout); 217 217 AssertMsg(RT_SUCCESS(vrc) || vrc == VERR_TIMEOUT || vrc == VERR_INTERRUPTED, 218 218 ("RTSemEventWait returned %Rrc\n", vrc)); … … 921 921 aAlock.release(); 922 922 923 ::RTSemEventWait(hEvt, aTimeout );923 ::RTSemEventWait(hEvt, aTimeout < 0 ? RT_INDEFINITE_WAIT : (RTMSINTERVAL)aTimeout); 924 924 ASMAtomicDecS32(&mQEventBusyCnt); 925 925
Note:
See TracChangeset
for help on using the changeset viewer.

