#include <io_tasklist.h>
Definition at line 33 of file io_tasklist.h.
◆ IOTaskList()
ARDOUR::IOTaskList::IOTaskList |
( |
uint32_t |
| ) |
|
◆ ~IOTaskList()
ARDOUR::IOTaskList::~IOTaskList |
( |
| ) |
|
◆ _worker_thread()
static void* ARDOUR::IOTaskList::_worker_thread |
( |
void * |
| ) |
|
|
staticprivate |
◆ io_thread()
void ARDOUR::IOTaskList::io_thread |
( |
| ) |
|
|
private |
◆ process()
void ARDOUR::IOTaskList::process |
( |
| ) |
|
process tasks in list in parallel, wait for them to complete
◆ push_back()
void ARDOUR::IOTaskList::push_back |
( |
std::function< void()> |
fn | ) |
|
◆ _exec_sem
◆ _idle_sem
◆ _n_threads
uint32_t ARDOUR::IOTaskList::_n_threads |
|
private |
◆ _n_workers
std::atomic<uint32_t> ARDOUR::IOTaskList::_n_workers |
|
private |
◆ _tasks
std::vector<std::function<void ()> > ARDOUR::IOTaskList::_tasks |
|
private |
◆ _tasks_mutex
Glib::Threads::Mutex ARDOUR::IOTaskList::_tasks_mutex |
|
private |
◆ _terminate
std::atomic<bool> ARDOUR::IOTaskList::_terminate |
|
private |
◆ _workers
std::vector<pthread_t> ARDOUR::IOTaskList::_workers |
|
private |
The documentation for this class was generated from the following file: