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