QTrk
Public Member Functions | Public Attributes | List of all members
QueuedCPUTracker::Thread Struct Reference

Structure to facilitate the use of threads. More...

Public Member Functions

 Thread ()
 
void lock ()
 Lock this thread's mutex. More...
 
void unlock ()
 Unlock this thread's mutex. More...
 

Public Attributes

CPUTrackertracker
 The tracker for this thread. More...
 
Threads::Handlethread
 Handle to the actual OS thread. More...
 
QueuedCPUTrackermanager
 Parent QueuedCPUTracker instance. More...
 
Threads::Mutexmutex
 The mutex for this thread. More...
 

Detailed Description

Structure to facilitate the use of threads.

Definition at line 127 of file QueuedCPUTracker.h.

Constructor & Destructor Documentation

§ Thread()

QueuedCPUTracker::Thread::Thread ( )
inline

Definition at line 128 of file QueuedCPUTracker.h.

128 { tracker=0; manager=0; thread=0; mutex=0; }
CPUTracker * tracker
The tracker for this thread.
QueuedCPUTracker * manager
Parent QueuedCPUTracker instance.
Threads::Mutex * mutex
The mutex for this thread.
Threads::Handle * thread
Handle to the actual OS thread.

Member Function Documentation

§ lock()

void QueuedCPUTracker::Thread::lock ( )
inline

Lock this thread's mutex.

Definition at line 134 of file QueuedCPUTracker.h.

§ unlock()

void QueuedCPUTracker::Thread::unlock ( )
inline

Unlock this thread's mutex.

Definition at line 135 of file QueuedCPUTracker.h.

Member Data Documentation

§ manager

QueuedCPUTracker* QueuedCPUTracker::Thread::manager

Parent QueuedCPUTracker instance.

Definition at line 131 of file QueuedCPUTracker.h.

§ mutex

Threads::Mutex* QueuedCPUTracker::Thread::mutex

The mutex for this thread.

Definition at line 132 of file QueuedCPUTracker.h.

§ thread

Threads::Handle* QueuedCPUTracker::Thread::thread

Handle to the actual OS thread.

Definition at line 130 of file QueuedCPUTracker.h.

§ tracker

CPUTracker* QueuedCPUTracker::Thread::tracker

The tracker for this thread.

Definition at line 129 of file QueuedCPUTracker.h.


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