VirtualBox

Changeset 21141 in vbox for trunk/src/VBox/VMM


Ignore:
Timestamp:
Jul 1, 2009 6:26:35 PM (16 years ago)
Author:
vboxsync
Message:

PDMQueue.cpp: make sure the FF is cleared before we return.

File:
1 edited

Legend:

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

    r21128 r21141  
    641641        do
    642642        {
     643            VM_FF_CLEAR(pVM, VM_FF_PDM_QUEUES);
    643644            for (PPDMQUEUE pCur = pVM->pdm.s.pQueuesForced; pCur; pCur = pCur->pNext)
    644645                if (    pCur->pPendingR3
     
    646647                    ||  pCur->pPendingRC)
    647648                    pdmR3QueueFlush(pCur);
    648             VM_FF_CLEAR(pVM, VM_FF_PDM_QUEUES);
    649         } while (ASMAtomicBitTestAndClear(&pVM->pdm.s.fQueueFlushing, PDM_QUEUE_FLUSH_FLAG_PENDING_BIT));
     649        } while (   ASMAtomicBitTestAndClear(&pVM->pdm.s.fQueueFlushing, PDM_QUEUE_FLUSH_FLAG_PENDING_BIT)
     650                 || VM_FF_ISPENDING(pVM, VM_FF_PDM_QUEUES));
    650651
    651652        ASMAtomicBitClear(&pVM->pdm.s.fQueueFlushing, PDM_QUEUE_FLUSH_FLAG_ACTIVE_BIT);
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