- Timestamp:
- Oct 5, 2016 1:57:31 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Storage/DrvSCSI.cpp
r64154 r64157 51 51 /** Event semaphore to signal when complete. */ 52 52 RTSEMEVENT hSemEvt; 53 /** Status of the eject operation. */ 54 int rcReq; 53 55 } DRVSCSIEJECTSTATE; 54 56 typedef DRVSCSIEJECTSTATE *PDRVSCSIEJECTSTATE; … … 290 292 /* Wait for completion. */ 291 293 rc = RTSemEventWait(pEjectState->hSemEvt, RT_INDEFINITE_WAIT); 294 if (RT_SUCCESS(rc)) 295 rc = pEjectState->rcReq; 292 296 } 293 297 else … … 1066 1070 } 1067 1071 1072 pEjectState->rcReq = rc; 1068 1073 RTSemEventSignal(pEjectState->hSemEvt); 1069 1074 return true;
Note:
See TracChangeset
for help on using the changeset viewer.