VirtualBox

Changeset 25569 in vbox


Ignore:
Timestamp:
Dec 22, 2009 2:35:11 PM (15 years ago)
Author:
vboxsync
Message:

iprt/lockvalidator.h: docs.

File:
1 edited

Legend:

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

    r25519 r25569  
    492492RTDECL(RTTHREAD) RTLockValidatorUnsetOwner(PRTLOCKVALIDATORREC pRec);
    493493
     494/**
     495 * Adds an owner to a shared locking record.
     496 *
     497 * Takes recursion into account.  This function is typically called after
     498 * acquiring the lock.
     499 *
     500 * @param   pRead               The validator record.
     501 * @param   hThread             The thread to add.
     502 * @param   pSrcPos             The source position of the lock operation.
     503 */
    494504RTDECL(void) RTLockValidatorAddReadOwner(PRTLOCKVALIDATORSHARED pRead, RTTHREAD hThread, PCRTLOCKVALIDATORSRCPOS pSrcPos);
     505
     506/**
     507 * Removes an owner from a shared locking record.
     508 *
     509 * Takes recursion into account.  This function is typically called before
     510 * releaseing the lock.
     511 *
     512 * @param   pRead               The validator record.
     513 * @param   hThread             The thread to to remove.
     514 */
    495515RTDECL(void) RTLockValidatorRemoveReadOwner(PRTLOCKVALIDATORSHARED pRead, RTTHREAD hThread);
    496516
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