Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members

RageMutex Class Reference

#include <RageThreads.h>

Inheritance diagram for RageMutex:

Inheritance graph
[legend]
List of all members.

Public Member Functions

CString GetName () const
void SetName (const CString &s)
virtual void Lock ()
virtual bool TryLock ()
virtual void Unlock ()
virtual bool IsLockedByThisThread () const
 RageMutex (CString name)
virtual ~RageMutex ()

Protected Member Functions

void MarkLockedMutex ()

Protected Attributes

MutexImpl * m_pMutex
CString m_sName
int m_UniqueID
uint64_t m_LockedBy
int m_LockCnt

Constructor & Destructor Documentation

RageMutex::RageMutex CString  name  ) 
 

RageMutex::~RageMutex  )  [virtual]
 


Member Function Documentation

CString RageMutex::GetName  )  const [inline]
 

bool RageMutex::IsLockedByThisThread  )  const [virtual]
 

void RageMutex::Lock  )  [virtual]
 

void RageMutex::MarkLockedMutex  )  [protected]
 

void RageMutex::SetName const CString &  s  )  [inline]
 

bool RageMutex::TryLock  )  [virtual]
 

void RageMutex::Unlock  )  [virtual]
 


Member Data Documentation

int RageMutex::m_LockCnt [protected]
 

uint64_t RageMutex::m_LockedBy [protected]
 

MutexImpl* RageMutex::m_pMutex [protected]
 

CString RageMutex::m_sName [protected]
 

int RageMutex::m_UniqueID [protected]
 


The documentation for this class was generated from the following files:
Generated on Thu Jan 27 21:01:27 2005 for StepMania by doxygen 1.3.7