VirtualBox

Changeset 37859 in vbox for trunk/src/VBox/VMM/VMMR3


Ignore:
Timestamp:
Jul 11, 2011 8:48:24 AM (13 years ago)
Author:
vboxsync
Message:

Committed usb_thread.patch with tiny adjustments.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMR3/PDMUsb.cpp

    r37358 r37859  
    13671367
    13681368
     1369/** @interface_method_impl{PDMUSBHLP,pfnThreadCreate} */
     1370static DECLCALLBACK(int) pdmR3UsbHlp_ThreadCreate(PPDMUSBINS pUsbIns, PPPDMTHREAD ppThread, void *pvUser, PFNPDMTHREADUSB pfnThread,
     1371                                                  PFNPDMTHREADWAKEUPUSB pfnWakeup, size_t cbStack, RTTHREADTYPE enmType, const char *pszName)
     1372{
     1373    PDMDEV_ASSERT_DEVINS(pUsbIns);
     1374    VM_ASSERT_EMT(pUsbIns->Internal.s.pVM);
     1375    LogFlow(("pdmR3UsbHlp_ThreadCreate: caller='%s'/%d: ppThread=%p pvUser=%p pfnThread=%p pfnWakeup=%p cbStack=%#zx enmType=%d pszName=%p:{%s}\n",
     1376             pUsbIns->pReg->szName, pUsbIns->iInstance, ppThread, pvUser, pfnThread, pfnWakeup, cbStack, enmType, pszName, pszName));
     1377
     1378    int rc = pdmR3ThreadCreateUsb(pUsbIns->Internal.s.pVM, pUsbIns, ppThread, pvUser, pfnThread, pfnWakeup, cbStack, enmType, pszName);
     1379
     1380    LogFlow(("pdmR3UsbHlp_ThreadCreate: caller='%s'/%d: returns %Rrc *ppThread=%RTthrd\n", pUsbIns->pReg->szName, pUsbIns->iInstance,
     1381             rc, *ppThread));
     1382    return rc;
     1383}
     1384
     1385
    13691386/** @interface_method_impl{PDMUSBHLP,pfnSetAsyncNotification} */
    13701387static DECLCALLBACK(int) pdmR3UsbHlp_SetAsyncNotification(PPDMUSBINS pUsbIns, PFNPDMUSBASYNCNOTIFY pfnAsyncNotify)
     
    14391456    pdmR3UsbHlp_VMSetRuntimeErrorV,
    14401457    pdmR3UsbHlp_VMState,
     1458    pdmR3UsbHlp_ThreadCreate,
    14411459    pdmR3UsbHlp_SetAsyncNotification,
    14421460    pdmR3UsbHlp_AsyncNotificationCompleted,
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette