VirtualBox

Ignore:
Timestamp:
May 18, 2009 1:15:46 PM (16 years ago)
Author:
vboxsync
Message:

Use PDM lock for protecting pdm queue management.

File:
1 edited

Legend:

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

    r19141 r19784  
    349349}
    350350
     351/**
     352 * Check if this VCPU currently owns the PDM lock.
     353 *
     354 * @returns bool owner/not owner
     355 * @param   pVM         The VM to operate on.
     356 */
     357bool pdmIsLockOwner(PVM pVM)
     358{
     359    return PDMCritSectIsOwner(&pVM->pdm.s.CritSect);
     360}
     361
    351362
    352363/**
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