#include <thread.h>
Public Member Functions | |
PThreadMain1Arg (Arg1Type _arg1, BOOL autoDelete=FALSE) | |
virtual void | Main () |
Protected Attributes | |
Arg1Type | arg1 |
PThreadMain1Arg< Arg1Type >::PThreadMain1Arg | ( | Arg1Type | _arg1, | |
BOOL | autoDelete = FALSE | |||
) | [inline] |
References PThread::Resume().
virtual void PThreadMain1Arg< Arg1Type >::Main | ( | ) | [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.
Arg1Type PThreadMain1Arg< Arg1Type >::arg1 [protected] |