#include <threads.h>
Public Member Functions | |
void | join () |
void | start () |
Thread () | |
virtual | ~Thread () |
Public Attributes | |
int | my_id |
TSP * | mytsp |
int | start_node |
Protected Member Functions | |
virtual void | run ()=0 |
Private Member Functions | |
Thread & | operator= (const Thread &rhs) |
Thread (const Thread &arg) | |
Static Private Member Functions | |
static void * | exec (void *thr) |
Private Attributes | |
pthread_t | _id |
|
private |
|
staticprivate |
Definition at line 32 of file threads.cpp.
void Thread::join | ( | ) |
Definition at line 16 of file threads.cpp.
|
protectedpure virtual |
Implemented in MyThread.
void Thread::start | ( | ) |
Definition at line 5 of file threads.cpp.