#include <thread.h>
Public Types | |
| typedef void(* | FnType )(Arg1Type arg1) |
Public Member Functions | |
| PThread1Arg (Arg1Type arg1, FnType function, bool autoDelete=false) | |
| PThread1Arg (const char *file, int line, Arg1Type arg1, FnType function, bool autoDelete=false) | |
| virtual void | Main () |
Protected Attributes | |
| FnType | m_function |
| Arg1Type | m_arg1 |
| typedef void(* PThread1Arg< Arg1Type >::FnType)(Arg1Type arg1) |
| PThread1Arg< Arg1Type >::PThread1Arg | ( | Arg1Type | arg1, | |
| FnType | function, | |||
| bool | autoDelete = false | |||
| ) | [inline] |
References PThread::Resume().
| PThread1Arg< Arg1Type >::PThread1Arg | ( | const char * | file, | |
| int | line, | |||
| Arg1Type | arg1, | |||
| FnType | function, | |||
| bool | autoDelete = false | |||
| ) | [inline] |
References PThread::Resume().
| 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.
References PThread1Arg< Arg1Type >::m_arg1.
Arg1Type PThread1Arg< Arg1Type >::m_arg1 [protected] |
Referenced by PThread1Arg< Arg1Type >::Main().
FnType PThread1Arg< Arg1Type >::m_function [protected] |
1.6.3