Bike-X  0.8
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
OVR::ThreadList Class Reference
Inheritance diagram for OVR::ThreadList:
Inheritance graph
Collaboration diagram for OVR::ThreadList:
Collaboration graph

Data Structures

struct  ThreadHashOp
 

Public Member Functions

 ThreadList ()
 
 ~ThreadList ()
 

Static Public Member Functions

static void AddRunningThread (Thread *pthread)
 
static void RemoveRunningThread (Thread *pthread)
 
static void FinishAllThreads ()
 

Private Member Functions

void addThread (Thread *pthread)
 
void removeThread (Thread *pthread)
 
void finishAllThreads ()
 

Private Attributes

HashSet< Thread *, ThreadHashOpThreadSet
 
Mutex ThreadMutex
 
WaitCondition ThreadsEmpty
 
pthread_t RootThreadId
 

Static Private Attributes

static ThreadList *volatile pRunningThreads = 0
 

Detailed Description

Definition at line 473 of file OVR_ThreadsPthread.cpp.

Constructor & Destructor Documentation

OVR::ThreadList::ThreadList ( )
inline

Definition at line 518 of file OVR_ThreadsPthread.cpp.

OVR::ThreadList::~ThreadList ( )
inline

Definition at line 522 of file OVR_ThreadsPthread.cpp.

Member Function Documentation

static void OVR::ThreadList::AddRunningThread ( Thread pthread)
inlinestatic

Definition at line 525 of file OVR_ThreadsPthread.cpp.

void OVR::ThreadList::addThread ( Thread pthread)
inlineprivate

Definition at line 492 of file OVR_ThreadsPthread.cpp.

void OVR::ThreadList::finishAllThreads ( )
inlineprivate

Definition at line 506 of file OVR_ThreadsPthread.cpp.

static void OVR::ThreadList::FinishAllThreads ( )
inlinestatic

Definition at line 545 of file OVR_ThreadsPthread.cpp.

static void OVR::ThreadList::RemoveRunningThread ( Thread pthread)
inlinestatic

Definition at line 539 of file OVR_ThreadsPthread.cpp.

void OVR::ThreadList::removeThread ( Thread pthread)
inlineprivate

Definition at line 498 of file OVR_ThreadsPthread.cpp.

Field Documentation

ThreadList *volatile OVR::ThreadList::pRunningThreads = 0
staticprivate

Definition at line 490 of file OVR_ThreadsPthread.cpp.

pthread_t OVR::ThreadList::RootThreadId
private

Definition at line 488 of file OVR_ThreadsPthread.cpp.

Mutex OVR::ThreadList::ThreadMutex
private

Definition at line 485 of file OVR_ThreadsPthread.cpp.

WaitCondition OVR::ThreadList::ThreadsEmpty
private

Definition at line 486 of file OVR_ThreadsPthread.cpp.

HashSet<Thread*, ThreadHashOp> OVR::ThreadList::ThreadSet
private

Definition at line 484 of file OVR_ThreadsPthread.cpp.


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