VirtualBox

Changeset 19531 in vbox for trunk


Ignore:
Timestamp:
May 8, 2009 2:40:54 PM (16 years ago)
Author:
vboxsync
Message:

Added RTCritSectGetWaiters

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/iprt/critsect.h

    r8245 r19531  
    299299}
    300300
     301/**
     302 * Gets the waiter count
     303 *
     304 * @returns The waiter count
     305 * @param   pCritSect       The Critical section
     306 */
     307DECLINLINE(uint32_t) RTCritSectGetWaiters(PCRTCRITSECT pCritSect)
     308{
     309    return pCritSect->cLockers;
     310}
     311
    301312#endif /* IN_RING3 */
    302313/** @} */
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