VirtualBox

Changeset 19485 in vbox for trunk


Ignore:
Timestamp:
May 7, 2009 12:56:53 PM (16 years ago)
Author:
vboxsync
Message:

TM: fixed incorrect use of ASMBitTestAndSet in TMR3TimerQueuesDo that could result in the queues only being run on every 2nd call.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/TM.cpp

    r19444 r19485  
    15161516     */
    15171517    VM_FF_CLEAR(pVM, VM_FF_TIMER);
    1518     if (!ASMBitTestAndSet(&pVM->tm.s.fRunningQueues, 0))
     1518    if (ASMBitTestAndSet(&pVM->tm.s.fRunningQueues, 0))
     1519    {
     1520        Assert(pVM->cCPUs > 1);
    15191521        return;
     1522    }
    15201523
    15211524    STAM_PROFILE_START(&pVM->tm.s.StatDoQueues, a);
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