|
| function_thread (void(*_func)(thread_id_type)) |
|
void | run () |
| thread function to override
|
|
| function_thread (void(*_func)(thread_id_type)) |
|
void | run () |
| thread function to override
|
|
| thread () |
| create the thread
|
|
virtual | ~thread () |
| standard destructor (a running thread will be killed)
|
|
void | start (bool _delete_after_termination=false) |
| start the implemented run() method (asynchronly) and destruct the thread object
|
|
void | stop () |
| try to stop the thread execution via indicating a stop request.
|
|
void | kill () |
| kill a running thread
|
|
void | wait_for_completion () |
| the thread is interpreted as a slave thread and started from another master thread.
|
|
bool | is_running () |
| return true if thread is running
|
|
bool | have_stop_request () |
| check if there is a stop request
|
|
thread_id_type | get_id () const |
| return id of this thread
|
|
Definition at line 130 of file thread_pthread.h.
◆ function_thread() [1/2]
cgv::os::function_thread::function_thread |
( |
void(*)(thread_id_type) |
_func | ) |
|
|
inline |
◆ function_thread() [2/2]
cgv::os::function_thread::function_thread |
( |
void(*)(thread_id_type) |
_func | ) |
|
|
inline |
◆ run() [1/2]
void cgv::os::function_thread::run |
( |
| ) |
|
|
inlinevirtual |
◆ run() [2/2]
void cgv::os::function_thread::run |
( |
| ) |
|
|
inlinevirtual |
◆ func
void(* cgv::os::function_thread::func)(thread_id_type) |
|
protected |
The documentation for this class was generated from the following files: