Changeset 22967 in vbox
- Timestamp:
- Sep 11, 2009 10:41:38 PM (15 years ago)
- Location:
- trunk/src/VBox/VMM
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/PDMAsyncCompletionFile.cpp
r22757 r22967 221 221 222 222 ASMAtomicWriteU32((volatile uint32_t *)&pAioMgr->enmBlockingEvent, enmEvent); 223 Assert(!pAioMgr->fBlockingEventPending); 223 224 ASMAtomicXchgBool(&pAioMgr->fBlockingEventPending, true); 224 225 -
trunk/src/VBox/VMM/PDMAsyncCompletionFileNormal.cpp
r22851 r22967 445 445 { 446 446 pAioMgr->cRequestsActive += cRequests; 447 pEndpoint->AioMgr.cRequestsActive += cRequests; 447 448 rc = RTFileAioCtxSubmit(pAioMgr->hAioCtx, apReqs, cRequests); 448 449 if (RT_FAILURE(rc)) … … 464 465 { 465 466 pAioMgr->cRequestsActive += cRequests; 467 pEndpoint->AioMgr.cRequestsActive += cRequests; 466 468 rc = RTFileAioCtxSubmit(pAioMgr->hAioCtx, apReqs, cRequests); 467 469 AssertMsgReturn(RT_SUCCESS(rc), ("Could not submit %u requests %Rrc\n", cRequests, rc), rc); … … 626 628 627 629 /* Release the waiting thread. */ 630 LogFlow(("Signalling waiter\n")); 628 631 rc = RTSemEventSignal(pAioMgr->EventSemBlock); 629 632 AssertRC(rc); … … 764 767 765 768 pAioMgr->cRequestsActive--; 769 pEndpoint->AioMgr.cRequestsActive--; 766 770 pEndpoint->AioMgr.cReqsProcessed++; 767 771 … … 815 819 816 820 /* Release the waiting thread. */ 821 LogFlow(("Signalling waiter\n")); 817 822 rc = RTSemEventSignal(pAioMgr->EventSemBlock); 818 823 AssertRC(rc);
Note:
See TracChangeset
for help on using the changeset viewer.