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

Thread object incapsulation


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

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


Counter & Wefts::startedThreads ()
 Incremental counter of started threads.

virtual void Wefts::Thread::executionEnd ()
 Minimal thraed termination routines.


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

Detailed Description

Write something about thread objects objects

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.

Reimplemented in Wefts::MoaningThread.

Counter & Wefts::startedThreads  ) 

Incremental counter of started threads.

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

As it is used in constructors, it must be accessed via the "construct on first use" semantic. A function that constructs it on need is called.

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...

Generated on Sat Mar 13 21:05:44 2004 for Wefts by doxygen 1.3.5