Changeset 59615 in vbox for trunk/src/VBox/Devices/USB/VUSBDevice.cpp
- Timestamp:
- Feb 9, 2016 1:08:14 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/USB/VUSBDevice.cpp
r58364 r59615 1647 1647 Assert(RT_SUCCESS(rc) || rc == VERR_TIMEOUT); 1648 1648 1649 vusbDevUrbIoThreadWakeup(pDev); 1649 /* In case we are called on the I/O thread just process the request. */ 1650 if ( pDev->hUrbIoThread == RTThreadSelf() 1651 && (fFlags & VUSB_DEV_IO_THREAD_EXEC_FLAGS_SYNC)) 1652 { 1653 int rc2 = RTReqQueueProcess(pDev->hReqQueueSync, 0); 1654 Assert(RT_SUCCESS(rc2) || rc2 == VERR_TIMEOUT); 1655 } 1656 else 1657 vusbDevUrbIoThreadWakeup(pDev); 1658 1650 1659 if ( rc == VERR_TIMEOUT 1651 1660 && (fFlags & VUSB_DEV_IO_THREAD_EXEC_FLAGS_SYNC)) … … 1782 1791 if (pszCaptureFilename) 1783 1792 { 1784 rc = VUSBSnifferCreate(&pDev->hSniffer, 0, pszCaptureFilename, NULL );1793 rc = VUSBSnifferCreate(&pDev->hSniffer, 0, pszCaptureFilename, NULL, NULL); 1785 1794 AssertRCReturn(rc, rc); 1786 1795 }
Note:
See TracChangeset
for help on using the changeset viewer.