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