VirtualBox

Changeset 68602 in vbox for trunk/src/VBox/Devices


Ignore:
Timestamp:
Sep 1, 2017 1:40:25 PM (8 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
117826
Message:

Audio/HDA: Don't stop the timer via TMTimerStop(), as this function might be called with an MMIO handler which then in case triggers a lock order violation.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Audio/DevHDA.cpp

    r68601 r68602  
    23062306    ASMAtomicXchgBool(&pThis->fTimerActive, false);
    23072307
    2308     /*
    2309      * Stop the timer, if any.
    2310      */
    2311     if (   pThis->pTimer
    2312         && TMTimerIsActive(pThis->pTimer))
    2313     {
    2314         int rc2 = TMTimerStop(pThis->pTimer);
    2315         AssertRC(rc2);
    2316     }
     2308    /* Don't stop the timer via TMTimerStop() here, as this function
     2309     * might be called with an MMIO handler which then in case triggers
     2310     * a lock order violation. */
    23172311}
    23182312
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