PThreadMain Class Reference

#include <thread.h>

Inheritance diagram for PThreadMain:

PThread PObject

List of all members.

Public Member Functions

 PThreadMain (BOOL autoDelete=FALSE)
virtual void Main ()=0


Detailed Description

Define some templates to simplify the declaration of simple PThread descendants with one or two paramaters

Constructor & Destructor Documentation

PThreadMain::PThreadMain ( BOOL  autoDelete = FALSE  )  [inline]

References PThread::Resume().


Member Function Documentation

virtual void PThreadMain::Main (  )  [pure virtual]

User override function for the main execution routine of the thread. A descendent class must provide the code that will be executed in the thread within this function.

Note that the correct way for a thread to terminate is to return from this function.

Implements PThread.


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

Generated on Fri Feb 29 13:37:14 2008 for PWLib by  doxygen 1.5.5