You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
uint32_t result = Core::IWorkerPool::Instance().Revoke(job, waitTime);
724
-
_active = true;
724
+
_active = true;
725
725
return result;
726
726
}
727
727
@@ -746,7 +746,11 @@ POP_WARNING()
746
746
}
747
747
748
748
private:
749
-
std::atomic_bool _active; // needed to make sure the Submit and Schedule will not be done twice once the job has not been starting to execute (see PluginStarter Deinitialzed)
749
+
std::atomic_bool _active; // needed to make sure the Submit and Schedule will not be done twice once the job has not been starting to execute (see PluginStarter Deinitialzed).
750
+
// This as there are asserts in the JobQueuue checking if the job is already in the queue
751
+
// Note not a full mutex is not required as the Submit and Schedule always will be called in a lock itself and the Revoke after the PluginStarter was
752
+
// removed from the list so could not lead to a retrigger of Submit or Scheduled (called just before PluginStarter destruction).
753
+
// Inside the Dispatch the Job is already out of the queue so then it is not a problem if the Submit or Schedule would be called again
0 commit comments