VirtualBox

Changeset 25721 in vbox for trunk/include


Ignore:
Timestamp:
Jan 11, 2010 2:01:53 PM (15 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
56461
Message:

iprt/RTSemMutex: MutexSem -> hMutexSem

File:
1 edited

Legend:

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

    r25720 r25721  
    355355 *
    356356 * @returns iprt status code.
    357  * @param   MutexSem    The mutex semaphore to destroy.
    358  */
    359 RTDECL(int)  RTSemMutexDestroy(RTSEMMUTEX MutexSem);
     357 * @param   hMutexSem           The mutex semaphore to destroy.  NIL is quitely
     358 *                              ignored (VINF_SUCCESS).
     359 */
     360RTDECL(int)  RTSemMutexDestroy(RTSEMMUTEX hMutexSem);
    360361
    361362/**
     
    385386 * @returns iprt status code.
    386387 *          Will not return VERR_INTERRUPTED.
    387  * @param   MutexSem    The mutex semaphore to request ownership over.
    388  * @param   cMillies    The number of milliseconds to wait.
    389  */
    390 RTDECL(int)  RTSemMutexRequest(RTSEMMUTEX MutexSem, unsigned cMillies);
     388 * @param   hMutexSem           The mutex semaphore to request ownership over.
     389 * @param   cMillies            The number of milliseconds to wait.
     390 */
     391RTDECL(int)  RTSemMutexRequest(RTSEMMUTEX hMutexSem, unsigned cMillies);
    391392
    392393/**
     
    400401 *
    401402 * @returns iprt status code.
    402  * @param   MutexSem    The mutex semaphore to request ownership over.
    403  * @param   cMillies    The number of milliseconds to wait.
    404  */
    405 RTDECL(int)  RTSemMutexRequestNoResume(RTSEMMUTEX MutexSem, unsigned cMillies);
     403 * @param   hMutexSem           The mutex semaphore to request ownership over.
     404 * @param   cMillies            The number of milliseconds to wait.
     405 */
     406RTDECL(int)  RTSemMutexRequestNoResume(RTSEMMUTEX hMutexSem, unsigned cMillies);
    406407
    407408/**
     
    410411 * @returns iprt status code.
    411412 *          Will not return VERR_INTERRUPTED.
    412  * @param   MutexSem            The mutex semaphore to request ownership over.
     413 * @param   hMutexSem           The mutex semaphore to request ownership over.
    413414 * @param   cMillies            The number of milliseconds to wait.
    414415 * @param   uId                 Some kind of locking location ID.  Typically a
     
    420421 *                              from.  Optional.
    421422 */
    422 RTDECL(int)  RTSemMutexRequestDebug(RTSEMMUTEX MutexSem, unsigned cMillies, RTHCUINTPTR uId, RT_SRC_POS_DECL);
     423RTDECL(int)  RTSemMutexRequestDebug(RTSEMMUTEX hMutexSem, unsigned cMillies, RTHCUINTPTR uId, RT_SRC_POS_DECL);
    423424
    424425/**
     
    426427 *
    427428 * @returns iprt status code.
    428  * @param   MutexSem            The mutex semaphore to request ownership over.
     429 * @param   hMutexSem           The mutex semaphore to request ownership over.
    429430 * @param   cMillies            The number of milliseconds to wait.
    430431 * @param   uId                 Some kind of locking location ID.  Typically a
     
    436437 *                              from.  Optional.
    437438 */
    438 RTDECL(int)  RTSemMutexRequestNoResumeDebug(RTSEMMUTEX MutexSem, unsigned cMillies, RTHCUINTPTR uId, RT_SRC_POS_DECL);
     439RTDECL(int)  RTSemMutexRequestNoResumeDebug(RTSEMMUTEX hMutexSem, unsigned cMillies, RTHCUINTPTR uId, RT_SRC_POS_DECL);
    439440
    440441/**
     
    442443 *
    443444 * @returns iprt status code.
    444  * @param   MutexSem    The mutex to release the ownership of.
    445  *                      It goes without saying the the calling thread must own it.
    446  */
    447 RTDECL(int)  RTSemMutexRelease(RTSEMMUTEX MutexSem);
     445 * @param   hMutexSem           The mutex to release the ownership of.  It goes
     446 *                              without saying the the calling thread must own
     447 *                              it.
     448 */
     449RTDECL(int)  RTSemMutexRelease(RTSEMMUTEX hMutexSem);
    448450
    449451/**
     
    451453 *
    452454 * @returns true if owned, false if not.
    453  * @param   hMutex              The mutex semaphore.
    454  */
    455 RTDECL(bool) RTSemMutexIsOwned(RTSEMMUTEX hMutex);
     455 * @param   hMutexSem           The mutex semaphore.
     456 */
     457RTDECL(bool) RTSemMutexIsOwned(RTSEMMUTEX hMutexSem);
    456458
    457459/* Strict build: Remap the two request calls to the debug versions. */
     
    492494 *
    493495 * @returns iprt status code.
    494  * @param   MutexSem    The mutex semaphore to destroy.
    495  */
    496 RTDECL(int)  RTSemFastMutexDestroy(RTSEMFASTMUTEX MutexSem);
     496 * @param   hMutexSem    The mutex semaphore to destroy.
     497 */
     498RTDECL(int)  RTSemFastMutexDestroy(RTSEMFASTMUTEX hMutexSem);
    497499
    498500/**
     
    504506 *
    505507 * @returns iprt status code.
    506  * @param   MutexSem    The mutex semaphore to request ownership over.
    507  */
    508 RTDECL(int)  RTSemFastMutexRequest(RTSEMFASTMUTEX MutexSem);
     508 * @param   hMutexSem    The mutex semaphore to request ownership over.
     509 */
     510RTDECL(int)  RTSemFastMutexRequest(RTSEMFASTMUTEX hMutexSem);
    509511
    510512/**
     
    512514 *
    513515 * @returns iprt status code.
    514  * @param   MutexSem    The mutex to release the ownership of.
     516 * @param   hMutexSem    The mutex to release the ownership of.
    515517 *                      It goes without saying the the calling thread must own it.
    516518 */
    517 RTDECL(int)  RTSemFastMutexRelease(RTSEMFASTMUTEX MutexSem);
     519RTDECL(int)  RTSemFastMutexRelease(RTSEMFASTMUTEX hMutexSem);
    518520
    519521/** @} */
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