Go to the documentation of this file.
31 if ((not isEmpty and not
isPaused())
or isTaskChosen) {
35 [&
g,
this](tbb::task::suspend_point
tag) {
push(
g, [
tag]() { tbb::task::resume(
tag); }); });
43 iTask.
group()->run([pTask,
this]() {
45 auto g = pTask->group();
50 if (
t and
t->group() !=
g) {
54 }
while (
t !=
nullptr);
78 if LIKELY (
nullptr != iTask) {
tbb::task_group * group()
bool resume()
Resumes processing if the queue was paused.
void push(tbb::task_group &, const T &iAction)
asynchronously pushes functor iAction into queue
TaskBase * pushAndGetNextTask(TaskBase *)
TaskBase * finishedTask()
TaskBase * pickNextTask()
std::atomic< unsigned long > m_pauseCount
tbb::concurrent_queue< TaskBase * > m_tasks
std::atomic< bool > m_taskChosen
The Signals That Services Can Subscribe To This is based on ActivityRegistry and is current per Services can connect to the signals distributed by the ActivityRegistry in order to monitor the activity of the application Each possible callback has some defined which we here list in angle e< void, edm::EventID const &, edm::Timestamp const & > We also list in braces which AR_WATCH_USING_METHOD_ is used for those or
void pushTask(TaskBase *)
The Signals That Services Can Subscribe To This is based on ActivityRegistry and is current per Services can connect to the signals distributed by the ActivityRegistry in order to monitor the activity of the application Each possible callback has some defined which we here list in angle e g
bool isPaused() const
Checks to see if the queue has been paused.