30 if ((not isEmpty and not
isPaused())
or isTaskChosen) {
95 LIKELY(
nullptr != nextTask) {
97 LIKELY(nextTask == iTask) {
99 iWait->spawn_and_wait_for_all(*nextTask);
102 tbb::task::spawn(*nextTask);
103 iWait->wait_for_all();
108 iWait->wait_for_all();
tbb::task * finishedTask()
void pushAndWait(const T &iAction)
synchronously pushes functor iAction into queue
std::atomic< unsigned long > m_pauseCount
tbb::task * pushAndGetNextTask(TaskBase *)
void pushTask(TaskBase *)
bool resume()
Resumes processing if the queue was paused.
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
bool isPaused() const
Checks to see if the queue has been paused.
TaskBase * pickNextTask()
std::atomic< bool > m_taskChosen
tbb::concurrent_queue< TaskBase * > m_tasks