Skip to content
Commit 84020b9d authored by Charles Leggett's avatar Charles Leggett
Browse files

Isolate EventContext from Algorithm

in order to not have re-entrant Algorithms stomp on each others' EventContexts, we need to isolate the EventContext from the Algorithm, and move it to the AlgoExecutionTask. We can then pass the EventContext explicitly to the tbb::task, instead of carrying it via the Algorithm, which would fail for re-entrant Algs. This also requires a change to the signature of ForwardSchedulerSvc::promoteToExecuted.

We should also make the EventContext* of the Algorithm const, to prevent any modification from inside the Alg.

See merge request !147
parents 0a4087c8 961f56a9
Loading
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment