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

RageThread Class Reference

#include <RageThreads.h>

Collaboration diagram for RageThread:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 RageThread ()
 ~RageThread ()
void SetName (const CString &n)
void Create (int(*fn)(void *), void *data)
int Wait ()
bool IsCreated () const

Static Public Member Functions

void HaltAllThreads (bool Kill=false)
void ResumeAllThreads ()
uint64_t GetCurrentThreadID ()
const char * GetCurThreadName ()
const char * GetThreadNameByID (uint64_t iID)
bool EnumThreadIDs (int n, uint64_t &iID)
bool GetSupportsTLS ()
void SetSupportsTLS (bool b)

Private Attributes

ThreadSlotm_pSlot
CString name

Static Private Attributes

bool m_bSystemSupportsTLS = false

Constructor & Destructor Documentation

RageThread::RageThread  ) 
 

RageThread::~RageThread  ) 
 


Member Function Documentation

void RageThread::Create int(*  fn)(void *),
void *  data
 

bool RageThread::EnumThreadIDs int  n,
uint64_t &  iID
[static]
 

uint64_t RageThread::GetCurrentThreadID  )  [static]
 

const char * RageThread::GetCurThreadName  )  [static]
 

bool RageThread::GetSupportsTLS  )  [inline, static]
 

const char * RageThread::GetThreadNameByID uint64_t  iID  )  [static]
 

void RageThread::HaltAllThreads bool  Kill = false  )  [static]
 

bool RageThread::IsCreated  )  const [inline]
 

void RageThread::ResumeAllThreads  )  [static]
 

void RageThread::SetName const CString &  n  )  [inline]
 

void RageThread::SetSupportsTLS bool  b  )  [inline, static]
 

int RageThread::Wait  ) 
 


Member Data Documentation

bool RageThread::m_bSystemSupportsTLS = false [static, private]
 

ThreadSlot* RageThread::m_pSlot [private]
 

CString RageThread::name [private]
 


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