#include <executor.h>
Definition at line 22 of file executor.h.
tasks::executor::executor |
( |
| ) |
|
virtual tasks::executor::~executor |
( |
| ) |
|
|
inlinevirtual |
void tasks::executor::add_task |
( |
exec_task * |
t | ) |
|
|
inline |
bool tasks::executor::busy |
( |
| ) |
const |
|
inline |
void tasks::executor::run |
( |
| ) |
|
|
private |
void tasks::executor::set_busy |
( |
| ) |
|
|
inline |
static void tasks::executor::set_timeout |
( |
uint32_t |
timeout | ) |
|
|
inlinestatic |
void tasks::executor::terminate |
( |
| ) |
|
|
inline |
bool tasks::executor::terminated |
( |
| ) |
const |
|
inline |
std::atomic<bool> tasks::executor::m_busy |
|
private |
std::condition_variable tasks::executor::m_cond |
|
private |
std::mutex tasks::executor::m_mutex |
|
private |
std::atomic<bool> tasks::executor::m_term |
|
private |
std::unique_ptr<std::thread> tasks::executor::m_thread |
|
private |
uint32_t tasks::executor::m_timeout = 60 |
|
staticprivate |
The documentation for this class was generated from the following files: