DebugLock.h File Reference

#include <BuildDefines.h>
#include <support/SupportDefs.h>
#include <support/StdIO.h>
#include <support/String.h>
#include <support/StringIO.h>
#include <new>

Go to the source code of this file.

Classes

class  DebugLock
class  DebugLockNode
class  StaticStringIO

Defines

#define SUPPORTS_LOCK_DEBUG   1

Enumerations

enum  {
  LOCK_CAN_DELETE_WHILE_HELD = 0x00000001, LOCK_ANYONE_CAN_DELETE = 0x00000002, LOCK_SKIP_DEADLOCK_CHECK = 0x00010000, LOCK_DO_NOT_REGISTER_HELD = 0x00020000,
  LOCK_ANYONE_CAN_UNLOCK = 0x00040000
}

Functions

void AssertNoLocks ()
int32_t LockDebugLevelSlow ()
const sptr< ITextOutput > & operator<< (const sptr< ITextOutput > &io, const DebugLockNode &db)

Variables

int32_t gLockDebugLevel
bool gLockDebugStackCrawls


Define Documentation

#define SUPPORTS_LOCK_DEBUG   1
 


Enumeration Type Documentation

anonymous enum
 

Enumerator:
LOCK_CAN_DELETE_WHILE_HELD 
LOCK_ANYONE_CAN_DELETE 
LOCK_SKIP_DEADLOCK_CHECK 
LOCK_DO_NOT_REGISTER_HELD 
LOCK_ANYONE_CAN_UNLOCK 


Function Documentation

void AssertNoLocks  ) 
 

int32_t LockDebugLevelSlow  ) 
 

const sptr<ITextOutput>& operator<< const sptr< ITextOutput > &  io,
const DebugLockNode db
[inline]
 


Variable Documentation

int32_t gLockDebugLevel
 

bool gLockDebugStackCrawls