DebugLock Class Reference

#include <support_p/DebugLock.h>

Inheritance diagram for DebugLock:

DebugLockNode List of all members.

Public Member Functions

 DebugLock (const char *type, const void *addr, const char *name, uint32_t debug_flags=0)
virtual void Delete ()
bool IsLocked () const
status_t Lock (uint32_t flags=B_TIMEOUT, nsecs_t timeout=B_INFINITE_TIMEOUT, uint32_t debug_flags=0)
const SCallStackOwnerStack () const
virtual void PrintStacksToStream (sptr< ITextOutput > &io) const
volatile int32_t * RemoveOwnership ()
void RestoreOwnership ()
status_t Unlock ()

Protected Member Functions

virtual void PrintSubclassToStream (const sptr< ITextOutput > &io) const
virtual ~DebugLock ()

Constructor & Destructor Documentation

DebugLock const char *  type,
const void *  addr,
const char *  name,
uint32_t  debug_flags = 0
 

virtual ~DebugLock  )  [protected, virtual]
 


Member Function Documentation

virtual void Delete  )  [virtual]
 

Reimplemented from DebugLockNode.

bool IsLocked  )  const
 

status_t Lock uint32_t  flags = B_TIMEOUT,
nsecs_t  timeout = B_INFINITE_TIMEOUT,
uint32_t  debug_flags = 0
 

const SCallStack* OwnerStack  )  const
 

virtual void PrintStacksToStream sptr< ITextOutput > &  io  )  const [virtual]
 

Reimplemented from DebugLockNode.

virtual void PrintSubclassToStream const sptr< ITextOutput > &  io  )  const [protected, virtual]
 

Reimplemented from DebugLockNode.

volatile int32_t* RemoveOwnership  ) 
 

void RestoreOwnership  ) 
 

status_t Unlock  ) 
 


The documentation for this class was generated from the following file: