VirtualBox

Changeset 24245 in vbox


Ignore:
Timestamp:
Nov 2, 2009 10:26:46 AM (16 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
54208
Message:

DrvSCSI: Use PDMR3ThreadSuspend in drvscsiPowerOff and drvscsiSuspend since the former may be called while the thread is already suspended.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Storage/DrvSCSI.cpp

    r24242 r24245  
    855855{
    856856    PDRVSCSI pThis = PDMINS_2_DATA(pDrvIns, PDRVSCSI);
    857     drvscsiWaitForPendingRequests(pThis, "PowerOff");
     857    PDMR3ThreadSuspend(pThis->pAsyncIOThread);
    858858}
    859859
     
    864864{
    865865    PDRVSCSI pThis = PDMINS_2_DATA(pDrvIns, PDRVSCSI);
    866     drvscsiWaitForPendingRequests(pThis, "Suspend");
     866    PDMR3ThreadSuspend(pThis->pAsyncIOThread);
    867867}
    868868
Note: See TracChangeset for help on using the changeset viewer.

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