VirtualBox

Changeset 25692 in vbox for trunk/include


Ignore:
Timestamp:
Jan 8, 2010 3:59:45 PM (15 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
56426
Message:

iprt/lockvalidator: Implemented order validatation and the autodidactic class code.

Location:
trunk/include/iprt
Files:
3 edited

Legend:

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

    r25638 r25692  
    862862/** The thread is not a valid signaller of the event. */
    863863#define VERR_SEM_LV_NOT_SIGNALLER           (-376)
     864/** Internal error in the lock validator or related components. */
     865#define VERR_SEM_LV_INTERNAL_ERROR          (-377)
    864866/** @} */
    865867
  • trunk/include/iprt/lockvalidator.h

    r25685 r25692  
    730730 *                              user will teach it all it needs to know (false).
    731731 * @param   fRecursionOk        Whether to allow lock recursion or not.
     732 * @param   fStrictReleaseOrder Enforce strict lock release order or not.
    732733 * @param   cMsMinDeadlock      Used to raise the sleep interval at which
    733734 *                              deadlock detection kicks in.  Minimum is 1 ms,
     
    741742 */
    742743RTDECL(int) RTLockValidatorClassCreateEx(PRTLOCKVALCLASS phClass, PCRTLOCKVALSRCPOS pSrcPos,
    743                                          bool fAutodidact, bool fRecursionOk,
     744                                         bool fAutodidact, bool fRecursionOk, bool fStrictReleaseOrder,
    744745                                         RTMSINTERVAL cMsMinDeadlock, RTMSINTERVAL cMsMinOrder);
    745746
  • trunk/include/iprt/types.h

    r25685 r25692  
    14971497/** @name   Special sub-class values.
    14981498 * The range 16..UINT32_MAX is available to the user, the range 0..15 is
    1499  * reserved for the lock validator.
     1499 * reserved for the lock validator.  In the user range the locks can only be
     1500 * taking in ascending order.
    15001501 * @{ */
    15011502/** Not allowed to be taken with any other locks in the same class.
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