- Timestamp:
- Jun 10, 2010 12:11:24 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/PDMAsyncCompletionFileFailsafe.cpp
r30131 r30147 118 118 || (pAioMgr->enmState == PDMACEPFILEMGRSTATE_SUSPENDING)) 119 119 { 120 ASMAtomicWriteBool(&pAioMgr->fWaitingEventSem, true); 120 121 if (!ASMAtomicReadBool(&pAioMgr->fWokenUp)) 121 {122 ASMAtomicWriteBool(&pAioMgr->fWaitingEventSem, true);123 122 rc = RTSemEventWait(pAioMgr->EventSem, RT_INDEFINITE_WAIT); 124 ASMAtomicWriteBool(&pAioMgr->fWaitingEventSem, false); 125 AssertRC(rc); 126 } 127 ASMAtomicXchgBool(&pAioMgr->fWokenUp, false); 123 ASMAtomicWriteBool(&pAioMgr->fWaitingEventSem, false); 124 AssertRC(rc); 125 126 LogFlow(("Got woken up\n")); 127 ASMAtomicWriteBool(&pAioMgr->fWokenUp, false); 128 128 129 129 /* Process endpoint events first. */
Note:
See TracChangeset
for help on using the changeset viewer.