VirtualBox

Changeset 4403 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Aug 28, 2007 3:45:07 PM (17 years ago)
Author:
vboxsync
Message:

PDMCritSectIsInitialized.

File:
1 edited

Legend:

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

    r4071 r4403  
    191191}
    192192
     193
     194/**
     195 * Checks if a critical section is initialized or not.
     196 *
     197 * @returns true if initialized.
     198 * @returns false if not initialized.
     199 * @param   pCritSect   The critical section.
     200 */
     201PDMDECL(bool) PDMCritSectIsInitialized(PCPDMCRITSECT pCritSect)
     202{
     203    return pCritSect->s.Core.u32Magic == RTCRITSECT_MAGIC;
     204}
     205
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