#include <thread.h>
Inheritance diagram for PThread1Arg< Arg1Type >:
Public Types | |
typedef void(*) | FnType (Arg1Type arg1) |
Public Member Functions | |
PThread1Arg (Arg1Type _arg1, FnType _fn, BOOL autoDelete=FALSE) | |
PThread1Arg (const char *_file, int _line, Arg1Type _arg1, FnType _fn, BOOL autoDelete=FALSE) | |
virtual void | Main () |
Public Attributes | |
FnType | fn |
Arg1Type | arg1 |
typedef void(*) PThread1Arg< Arg1Type >::FnType(Arg1Type arg1) |
PThread1Arg< Arg1Type >::PThread1Arg | ( | Arg1Type | _arg1, | |
FnType | _fn, | |||
BOOL | autoDelete = FALSE | |||
) | [inline] |
PThread1Arg< Arg1Type >::PThread1Arg | ( | const char * | _file, | |
int | _line, | |||
Arg1Type | _arg1, | |||
FnType | _fn, | |||
BOOL | autoDelete = FALSE | |||
) | [inline] |
virtual void PThread1Arg< Arg1Type >::Main | ( | ) | [inline, 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.
FnType PThread1Arg< Arg1Type >::fn |
Arg1Type PThread1Arg< Arg1Type >::arg1 |