#include <thread.hpp>
Definition at line 90 of file thread.hpp.
Public Member Functions | |
bool | is_running () |
void | kill () |
void | start () |
thread () | |
void | wait () |
virtual | ~thread () |
Protected Member Functions | |
virtual int | run ()=0 |
Private Attributes | |
SDL_Thread * | t |
Friends | |
int | run_thread (void *) |
thread | ( | ) |
Definition at line 85 of file thread.cpp.
~thread | ( | ) | [virtual] |
bool is_running | ( | ) |
void kill | ( | ) |
virtual int run | ( | ) | [protected, pure virtual] |
Implemented in load_scenery_thread.
void start | ( | ) |
Definition at line 104 of file thread.cpp.
References thread::run_thread, and thread::t.
Referenced by main_window::draw().
void wait | ( | ) |
int run_thread | ( | void * | data | ) | [friend] |
SDL_Thread* t [private] |
Definition at line 92 of file thread.hpp.
Referenced by thread::is_running(), thread::kill(), thread::start(), thread::wait(), and thread::~thread().