Logo Search packages:      
Sourcecode: virtualbox-ose version File versions  Download package

lockvalidator.h File Reference


Detailed Description

IPRT - Lock Validator.

Definition in file lockvalidator.h.

#include <iprt/cdefs.h>
#include <iprt/types.h>
#include <iprt/assert.h>
#include <iprt/thread.h>
#include <iprt/stdarg.h>

Go to the source code of this file.

Classes

struct  RTLOCKVALRECEXCL
struct  RTLOCKVALRECORE
struct  RTLOCKVALRECSHRD
struct  RTLOCKVALRECSHRDOWN
struct  RTLOCKVALSRCPOS

Defines

#define RTLOCKVALSRCPOS_INIT(pszFile, uLine, pszFunction, uId)   { (pszFile), (pszFunction), (uId), (uLine) }
#define RTLOCKVALSRCPOS_INIT_DEBUG_API()   RTLOCKVALSRCPOS_INIT(pszFile, iLine, pszFunction, uId)
#define RTLOCKVALSRCPOS_INIT_NORMAL_API()   RTLOCKVALSRCPOS_INIT(__FILE__, __LINE__, __PRETTY_FUNCTION__, (uintptr_t)ASMReturnAddress())
#define RTLOCKVALSRCPOS_INIT_POS_NO_ID()   RTLOCKVALSRCPOS_INIT(pszFile, iLine, pszFunction, (uintptr_t)ASMReturnAddress())

Typedefs

typedef RTLOCKVALRECCORE const * PCRTLOCKVALRECCORE
typedef RTLOCKVALRECCOREPRTLOCKVALRECCORE
typedef struct RTLOCKVALRECSHRDPRTLOCKVALRECSHRD
typedef RTLOCKVALRECSHRDOWNPRTLOCKVALRECSHRDOWN
typedef
typedefRT_C_DECLS_BEGIN union
RTLOCKVALRECUNION
PRTLOCKVALRECUNION
typedef struct RTLOCKVALRECORE RTLOCKVALRECCORE

Functions

 AssertCompileSize (RTLOCKVALRECSHRD, HC_ARCH_BITS==32?0x50:0x60)
 AssertCompileSize (RTLOCKVALRECSHRDOWN, HC_ARCH_BITS==32?24+16:32+32)
 AssertCompileSize (RTLOCKVALRECEXCL, HC_ARCH_BITS==32?0x60:0x80)
 AssertCompileSize (RTLOCKVALSRCPOS, HC_ARCH_BITS==32?16:32)
bool const char RTDECL (RTLOCKVALCLASS) RTLockValidatorClassCreateUnique(RT_SRC_POS_DECL
 RTDECL (void *) RTLockValidatorQueryBlocking(RTTHREAD hThread)
 RTDECL (int32_t) RTLockValidatorWriteLockGetCount(RTTHREAD Thread)
 RTDECL (bool) RTLockValidatorRecSharedIsOwner(PRTLOCKVALRECSHRD pRec
 RTDECL (uint32_t) RTLockValidatorRecExclSetSubClass(PRTLOCKVALRECEXCL pRec
 RTDECL (void) RTLockValidatorRecExclInit(PRTLOCKVALRECEXCL pRec
 RTDECL (int) RTLockValidatorRecMakeSiblings(PRTLOCKVALRECCORE pRec1

Variables

RTTHREAD PCRTLOCKVALSRCPOS
RTMSINTERVAL 
cMillies
PCRTLOCKVALSRCPOS bool bool
bool RTMSINTERVAL 
cMsMinDeadlock
PCRTLOCKVALSRCPOS bool bool
bool RTMSINTERVAL RTMSINTERVAL 
cMsMinOrder
RTTHREAD PCRTLOCKVALSRCPOS
bool RTMSINTERVAL
RTTHREADSTATE 
enmSleepState
PCRTLOCKVALSRCPOS bool fAutodidact
RTLOCKVALCLASS uint32_t void bool fEnabled
bool fFinalRecursion
RTTHREAD PCRTLOCKVALSRCPOS bool fFirstRecursion
RTTHREAD PCRTLOCKVALSRCPOS
bool RTMSINTERVAL
RTTHREADSTATE bool 
fReallySleeping
PCRTLOCKVALSRCPOS bool bool fRecursionOk
RTTHREAD PCRTLOCKVALSRCPOS bool fRecursiveOk
RTLOCKVALCLASS uint32_t void bool fSignaller
PCRTLOCKVALSRCPOS bool bool bool fStrictReleaseOrder
RTLOCKVALCLASS hClass
RTLOCKVALCLASS uint32_t void * hLock
RTLOCKVALCLASS hPriorClass
RTTHREAD hThread
RTTHREAD hThreadSelf
PRTLOCKVALRECCORE pRec2
PRTLOCKVALRECCORE pRecMixed
RTTHREAD PCRTLOCKVALSRCPOS pSrcPos
RTLOCKVALCLASS uint32_t void
bool const char * 
pszNameFmt
bool RT_SRC_POS_DECL
RTLOCKVALCLASS uint32_t uSubClass
RTLOCKVALCLASS uint32_t void
bool const char RTLOCKVALCLASS
uint32_t void bool const char
va_list 
va


Generated by  Doxygen 1.6.0   Back to index