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

mpcl::system::TThread Class Reference

#include <thread.hh>

Inheritance diagram for mpcl::system::TThread:

mpcl::system::IThread mpcl::event::TThreadedEventHandler< TEvent > List of all members.

Public Methods

 TThread (void)
 Builds a new instance.

void start (void)
 Starts the thread.

void join (void)
 From other thread, waits til this thread has finished.


Protected Methods

void exit (void)
void body (void)=0
 Main body of the thread.


Static Protected Methods

void * _starter (void *pvTHREAD_INSTANCE)

Detailed Description

Wrapper for POSIX thread and used by operating system class.
See also:
TOperatingSystem.

Definition at line 45 of file posix_1/thread.hh.


Member Function Documentation

void* mpcl::system::TThread::_starter void *    pvTHREAD_INSTANCE [inline, static, protected]
 

Support function for starting threads.

Parameters:
pvTHREAD_INSTANCE  Pointer to the thread to be started.

Definition at line 68 of file posix_1/thread.hh.

Referenced by start().

void mpcl::system::TThread::exit void    [inline, protected, virtual]
 

Stops the thread. This member function musts be called only by the current thread.

Implements mpcl::system::IThread.

Definition at line 81 of file posix_1/thread.hh.


The documentation for this class was generated from the following file:
Generated on Mon Oct 13 02:35:25 2003 for MPCL by doxygen1.2.18