VirtualBox

Changeset 25624 in vbox for trunk/include


Ignore:
Timestamp:
Jan 3, 2010 3:23:27 PM (15 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
56315
Message:

iprt/semmutex*: Added RTSemMutexIsOwned. Rewrote mutex recursion handling for windows (semmutex-win.cpp).

File:
1 edited

Legend:

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

    r25620 r25624  
    281281 */
    282282RTDECL(int)  RTSemMutexRelease(RTSEMMUTEX MutexSem);
     283
     284/**
     285 * Checks if the mutex semaphore is owned or not.
     286 *
     287 * @returns true if owned, false if not.
     288 * @param   hMutex              The mutex semaphore.
     289 */
     290RTDECL(bool) RTSemMutexIsOwned(RTSEMMUTEX hMutex);
    283291
    284292/* Strict build: Remap the two request calls to the debug versions. */
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette