- Timestamp:
- Sep 29, 2009 3:05:08 PM (15 years ago)
- svn:sync-xref-src-repo-rev:
- 52970
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/r3/posix/fileaio-posix.cpp
r23406 r23411 661 661 662 662 rcPosix = aio_error(&pReqInt->AioCB); 663 Assert(rcPosix != 0); 664 665 if (rcPosix != EINPROGRESS) 663 664 if ((rcPosix != EINPROGRESS) && (rcPosix != 0)) 666 665 { 667 666 cReqsSubmit--; … … 841 840 && RT_SUCCESS_NP(rc)) 842 841 { 842 #ifdef RT_STRICT 843 if (RT_UNLIKELY(!pCtxInt->iFirstFree)) 844 { 845 for (unsigned i = 0; i < pCtxInt->cReqsWaitMax; i++) 846 AssertMsg2("wait[%d] = %#p\n", i, pCtxInt->apReqs[i]); 847 848 AssertMsgFailed(("No request to wait for. pReqsWaitHead=%#p pReqsWaitTail=%#p\n", 849 pCtxInt->pReqsWaitHead, pCtxInt->pReqsWaitTail)); 850 } 851 #endif 852 843 853 ASMAtomicXchgBool(&pCtxInt->fWaiting, true); 844 854 int rcPosix = aio_suspend((const struct aiocb * const *)pCtxInt->apReqs, … … 914 924 pCtxInt->apReqs[pReq->iWaitingList] = pCtxInt->apReqs[--pCtxInt->iFirstFree]; 915 925 pCtxInt->apReqs[pReq->iWaitingList]->iWaitingList = pReq->iWaitingList; 916 pCtxInt->apReqs[pCtxInt->iFirstFree] = NULL;917 926 } 918 927 else 919 928 pCtxInt->iFirstFree--; 929 930 pCtxInt->apReqs[pCtxInt->iFirstFree] = NULL; 920 931 } 921 932
Note:
See TracChangeset
for help on using the changeset viewer.