Changeset 52517 in vbox for trunk/src/VBox/Devices/USB
- Timestamp:
- Aug 28, 2014 3:18:46 PM (10 years ago)
- Location:
- trunk/src/VBox/Devices/USB
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/USB/VUSBDevice.cpp
r52513 r52517 1228 1228 vusbMsgFreeExtraData(pDev->aPipes[i].pCtrl); 1229 1229 RTCritSectDelete(&pDev->aPipes[i].CritSectCtrl); 1230 1231 if (pDev->aPipes[i].hReadAhead) 1232 { 1233 vusbReadAheadStop(pDev->aPipes[i].hReadAhead); 1234 pDev->aPipes[i].hReadAhead = NULL; 1235 } 1230 1236 } 1231 1237 memset(pDev->aPipes, 0, sizeof(pDev->aPipes)); … … 1609 1615 rc = RTReqQueueCallV(pDev->hReqQueueSync, &hReq, 0 /* cMillies */, fReqFlags, pfnFunction, cArgs, Args); 1610 1616 Assert(RT_SUCCESS(rc) || rc == VERR_TIMEOUT); 1617 1611 1618 vusbDevUrbIoThreadWakeup(pDev); 1612 1613 if (fFlags & VUSB_DEV_IO_THREAD_EXEC_FLAGS_SYNC)1619 if ( rc == VERR_TIMEOUT 1620 && (fFlags & VUSB_DEV_IO_THREAD_EXEC_FLAGS_SYNC)) 1614 1621 { 1615 1622 rc = RTReqWait(hReq, RT_INDEFINITE_WAIT); 1616 1623 AssertRC(rc); 1617 1624 } 1625 RTReqRelease(hReq); 1618 1626 } 1619 1627 else -
trunk/src/VBox/Devices/USB/linux/USBProxyDevice-linux.cpp
r52386 r52517 1653 1653 { 1654 1654 /* unlink from the pending delivery list */ 1655 RTListNodeRemove(&p DevLnx->ListTaxing);1655 RTListNodeRemove(&pUrbLnx->NodeList); 1656 1656 1657 1657 /* temporarily into the active list, so free works right. */
Note:
See TracChangeset
for help on using the changeset viewer.