VirtualBox

Changeset 19597 in vbox for trunk/src/VBox/VMM/VMMAll


Ignore:
Timestamp:
May 12, 2009 8:58:48 AM (16 years ago)
Author:
vboxsync
Message:

PDMCritSectIsOwner fix

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMAll/PDMAllCritSect.cpp

    r19596 r19597  
    284284
    285285    /* Make sure the critical section is not scheduled to be unlocked. */
    286     if (!VMCPU_FF_ISSET(pVCpu, VMCPU_FF_PDM_CRITSECT))
     286    if (    !VMCPU_FF_ISSET(pVCpu, VMCPU_FF_PDM_CRITSECT)
     287        ||  RTCritSectGetRecursion(&pCritSect->s.Core) > 1)
    287288        return true;
    288289
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