#include <thread.h>
Public Member Functions | |
PThreadMain (BOOL autoDelete=FALSE) | |
virtual void | Main ()=0 |
Define some templates to simplify the declaration of simple PThread descendants with one or two paramaters
PThreadMain::PThreadMain | ( | BOOL | autoDelete = FALSE |
) | [inline] |
References PThread::Resume().
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.