Changeset 29129 in vbox
- Timestamp:
- May 6, 2010 10:40:30 AM (15 years ago)
- Location:
- trunk/src/VBox/Runtime/r3
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/r3/freebsd/fileaio-freebsd.cpp
r28800 r29129 204 204 pReqInt->AioCB.aio_nbytes = cbTransfer; 205 205 pReqInt->AioCB.aio_buf = pvBuf; 206 pReqInt->fFlush = false; 206 207 pReqInt->pvUser = pvUser; 207 208 pReqInt->pCtxInt = NULL; … … 236 237 pReqInt->fFlush = true; 237 238 pReqInt->AioCB.aio_fildes = (int)hFile; 239 pReqInt->AioCB.aio_offset = off; 240 pReqInt->AioCB.aio_nbytes = cbTransfer; 241 pReqInt->AioCB.aio_buf = pvBuf; 238 242 pReqInt->pvUser = pvUser; 239 243 RTFILEAIOREQ_SET_STATE(pReqInt, PREPARED); -
trunk/src/VBox/Runtime/r3/posix/fileaio-posix.cpp
r28800 r29129 396 396 397 397 memset(&pReqInt->AioCB, 0, sizeof(struct aiocb)); 398 pReqInt->fFlush = false; 398 399 pReqInt->AioCB.aio_lio_opcode = uTransferDirection; 399 400 pReqInt->AioCB.aio_fildes = (int)hFile; … … 436 437 pReqInt->fFlush = true; 437 438 pReqInt->AioCB.aio_fildes = (int)hFile; 439 pReqInt->AioCB.aio_offset = 0; 440 pReqInt->AioCB.aio_nbytes = 0; 441 pReqInt->AioCB.aio_buf = NULL; 438 442 pReqInt->pvUser = pvUser; 443 pReqInt->Rc = VERR_FILE_AIO_IN_PROGRESS; 439 444 RTFILEAIOREQ_SET_STATE(pReqInt, PREPARED); 440 445 -
trunk/src/VBox/Runtime/r3/solaris/fileaio-solaris.cpp
r28800 r29129 203 203 pReqInt->fFlush = true; 204 204 pReqInt->AioCB.aio_fildes = (int)hFile; 205 pReqInt->AioCB.aio_offset = 0; 206 pReqInt->AioCB.aio_nbytes = 0; 207 pReqInt->AioCB.aio_buf = NULL; 205 208 pReqInt->pvUser = pvUser; 206 209 RTFILEAIOREQ_SET_STATE(pReqInt, PREPARED);
Note:
See TracChangeset
for help on using the changeset viewer.