Main Page   Modules   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

Thread object incapsulation


Compounds

class  MoaningThread
 A thread subclass supporting an arbitrary number of joiners. More...

class  Thread
 Implements the abstraction of a thread. More...


Functions

virtual void executionEnd ()
 Minimal thraed termination routines.


Variables

Counter runningThreads
 Counter of currently active (or near-to-be active) threads.

Counter startedThreads
 Incremental counter of started threads.


Function Documentation

virtual void Wefts::Thread::executionEnd   [inline, private, virtual, inherited]
 

Minimal thraed termination routines.

This routine is executed at thread termination to ensure that all non class-dependant operations are done before cleanup() routine and the destructor calls.

This function marks the point after which the Wefts level thread object is not considered "running" anymore.


Variable Documentation

Counter Wefts::runningThreads( 1 )
 

Counter of currently active (or near-to-be active) threads.

Initialized to 1: if we initialized it, the main thread is running...

Counter Wefts::startedThreads( 1 )
 

Incremental counter of started threads.

It is used just in internal thread ID count for debugging or reporting purposes


Generated on Mon Dec 22 04:12:36 2003 for Wefts by doxygen1.2.18