31 if ( (not isEmpty and not
isPaused())
or isTaskChosen) {
58 tbb::task* returnValue{0};
102 if likely(
nullptr != nextTask) {
103 if likely(nextTask == iTask) {
105 iWait->spawn_and_wait_for_all(*nextTask);
107 tbb::task::spawn(*nextTask);
108 iWait->wait_for_all();
112 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