Skip to content
Snippets Groups Projects
Commit a2338c23 authored by Enrico Guiraud's avatar Enrico Guiraud Committed by Danilo Piparo
Browse files

[IMT] Let TTreeView support interleaved TBB task execution

When processing a TTree with TTreeProcessorMT, each thread creates
and uses its own TTreeView (by using a TThreadedObject<TTreeView>).

Until now, in the case of interleaved execution of tasks, the second
task could overwrite the first's TFile and TTree, causing crashes
when the first task resumed execution.

This commit modifies TTreeView so that it supports several tasks
opening and using different TFiles at the same time, solving the
issue described above.
parent 1e377472
No related branches found
No related tags found
No related merge requests found
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