#include <thread.h>
Public Types | |
typedef void | base_type |
typedef thread | this_type |
Public Member Functions | |
bool | is_running (void) const |
bool | is_started (void) const |
virtual bool | kill (void) |
virtual bool | start (void) |
thread (void) | |
virtual bool | wait (void) |
virtual | ~thread (void) |
Protected Member Functions | |
virtual void | run (void) |
Private Types | |
enum | thread_flags { thread_none = ( 0), thread_started = (1 << 0), thread_running = (1 << 1) } |
Static Private Member Functions | |
static void * | thread_func (void *param) |
Private Attributes | |
volatile unsigned int | flags |
pthread_t | tid |
typedef void mt::thread::base_type |
typedef thread mt::thread::this_type |
enum mt::thread::thread_flags [private] |
mt::thread::thread | ( | void | ) | [inline] |
virtual mt::thread::~thread | ( | void | ) | [inline, virtual] |
bool mt::thread::is_running | ( | void | ) | const [inline] |
bool mt::thread::is_started | ( | void | ) | const [inline] |
virtual bool mt::thread::kill | ( | void | ) | [inline, virtual] |
virtual void mt::thread::run | ( | void | ) | [inline, protected, virtual] |
Reimplemented in vcg::Cache< Token >.
virtual bool mt::thread::start | ( | void | ) | [inline, virtual] |
static void* mt::thread::thread_func | ( | void * | param | ) | [inline, static, private] |
virtual bool mt::thread::wait | ( | void | ) | [inline, virtual] |
volatile unsigned int mt::thread::flags [private] |
pthread_t mt::thread::tid [private] |