VirtualBox

Changeset 91945 in vbox for trunk/src


Ignore:
Timestamp:
Oct 21, 2021 1:17:30 PM (3 years ago)
Author:
vboxsync
Message:

VMM,Devices: Eliminate calls to PDMR3Thread and use the driver hlper callbacks, bugref:10074

Location:
trunk/src/VBox
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Network/DrvIntNet.cpp

    r91883 r91945  
    11991199    if (pThis->pXmitThread)
    12001200    {
    1201         int rc = PDMR3ThreadDestroy(pThis->pXmitThread, NULL);
     1201        int rc = PDMDrvHlpThreadDestroy(pDrvIns, pThis->pXmitThread, NULL);
    12021202        AssertRC(rc);
    12031203        pThis->pXmitThread = NULL;
  • trunk/src/VBox/Devices/Serial/DrvHostSerial.cpp

    r91897 r91945  
    628628             * this mode.
    629629             */
    630             PDMR3ThreadSleep(pThread, 100);
     630            PDMDrvHlpThreadSleep(pThis->pDrvIns, pThread, 100);
    631631        }
    632632    }
  • trunk/src/VBox/Devices/USB/DrvVUSBRootHub.cpp

    r91897 r91945  
    934934            || enmState == VMSTATE_RUNNING_LS)
    935935        {
    936             rc = PDMR3ThreadResume(pThis->hThreadPeriodFrame);
     936            rc = PDMDrvHlpThreadResume(pThis->pDrvIns, pThis->hThreadPeriodFrame);
    937937            AssertRCReturn(rc, rc);
    938938        }
  • trunk/src/VBox/VMM/VMMR3/PDMDriver.cpp

    r91939 r91945  
    22312231    pdmR3DrvHlp_AsyncNotificationCompleted,
    22322232    pdmR3DrvHlp_ThreadCreate,
     2233    PDMR3ThreadDestroy,
     2234    PDMR3ThreadIAmSuspending,
     2235    PDMR3ThreadIAmRunning,
     2236    PDMR3ThreadSleep,
     2237    PDMR3ThreadSuspend,
     2238    PDMR3ThreadResume,
    22332239    pdmR3DrvHlp_AsyncCompletionTemplateCreate,
    22342240    pdmR3DrvHlp_NetShaperAttach,
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