#include <thread.h>

Public Member Functions | |
| thread_c (void) | |
| virtual | ~thread_c (void) |
| bool | start () |
| virtual void | stop () |
| void | kill () |
| bool | isRunning (void) |
| return true, if the thread is running | |
Protected Member Functions | |
| virtual void | run (void)=0 |
Private Member Functions | |
| thread_c (const thread_c &) | |
| void | operator= (const thread_c &) |
Private Attributes | |
| pthread_t | id |
| bool | running |
Friends | |
| void * | start_thread (void *dat) |
| thread_c::thread_c | ( | void | ) | [inline] |
| thread_c::~thread_c | ( | void | ) | [virtual] |
References kill().
| thread_c::thread_c | ( | const thread_c & | ) | [private] |
| bool thread_c::isRunning | ( | void | ) | [inline] |
| void thread_c::kill | ( | ) |
| void thread_c::operator= | ( | const thread_c & | ) | [private] |
| virtual void thread_c::run | ( | void | ) | [protected, pure virtual] |
| bool thread_c::start | ( | ) |
| virtual void thread_c::stop | ( | void | ) | [inline, virtual] |
Reimplemented in solveThread_c.
| void* start_thread | ( | void * | dat | ) | [friend] |
Referenced by start().
pthread_t thread_c::id [private] |
bool thread_c::running [private] |
Referenced by isRunning(), kill(), and start_thread().
1.5.8