Base class for thread objects.
More...
#include <thread.h>
|
virtual void | run ()=0 |
| Method to be executed in thread. More...
|
|
Base class for thread objects.
Definition at line 27 of file thread.h.
◆ enable_realtime()
Raise current thread priority to realtime.
◆ get_pid()
static uint64_t roc::core::Thread::get_pid |
( |
| ) |
|
|
static |
Get numeric identifier of current process.
◆ get_tid()
static uint64_t roc::core::Thread::get_tid |
( |
| ) |
|
|
static |
Get numeric identifier of current thread.
◆ is_joinable()
bool roc::core::Thread::is_joinable |
( |
| ) |
const |
Check if thread was started and can be joined.
- Returns
- true if start() was called and join() was not called yet.
◆ join()
void roc::core::Thread::join |
( |
| ) |
|
◆ run()
virtual void roc::core::Thread::run |
( |
| ) |
|
|
protectedpure virtual |
Method to be executed in thread.
◆ start()
The documentation for this class was generated from the following file: