VirtualBox

Changeset 51090 in vbox for trunk/src


Ignore:
Timestamp:
Apr 16, 2014 4:45:13 PM (11 years ago)
Author:
vboxsync
Message:

AHCI: Fix wrong boolean operator causing the while loop to exit too early

File:
1 edited

Legend:

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

    r50938 r51090  
    11811181        /* Make sure the async I/O thread is not working before we start to cancel active requests. */
    11821182        while (   pAhciPort->u32TasksNew
    1183                && !pAhciPort->fWrkThreadSleeping)
     1183               || !pAhciPort->fWrkThreadSleeping)
    11841184            RTThreadYield();
    11851185
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