13#ifndef ROOT_ROOFIT_MultiProcess_Queue
14#define ROOT_ROOFIT_MultiProcess_Queue
22namespace MultiProcess {
Keeps a queue of tasks for workers and manages the queue process through its event loop.
void loop()
The queue process's event loop.
void add(JobTask job_task)
Enqueue a task.
void process_master_message(M2Q message)
Helper function for 'Queue::loop()'.
bool pop(JobTask &job_task)
Have a worker ask for a task-message from the queue.
std::size_t N_tasks_at_workers_
void process_worker_message(std::size_t this_worker_id, W2Q message)
Helper function for 'Queue::loop()'.
std::queue< JobTask > queue_
The namespace RooFit contains mostly switches that change the behaviour of functions of PDFs (or othe...
combined job_object, state and task identifier type