Skip to content
Snippets Groups Projects
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
No related branches found
No related tags found
1 merge request!147Isolate EventContext from Algorithm
Pipeline #
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment