19 #ifndef _ardour_io_tasklist_h_
20 #define _ardour_io_tasklist_h_
24 #include <glibmm/threads.h>
48 std::vector<std::function<void ()>>
_tasks;
std::atomic< uint32_t > _n_workers
static void * _worker_thread(void *)
std::vector< pthread_t > _workers
Glib::Threads::Mutex _tasks_mutex
std::atomic< bool > _terminate
void push_back(std::function< void()> fn)
std::vector< std::function< void()> > _tasks