-
- Downloads
[DF] Ensure TTreeProcessorMT's pool is created with expected number of threads
At construction time, RDataFrame sets its number of processing slots equal to ROOT::GetImplicitMTPoolSize(). We always want to construct TTreeProcessorMT's thread pool with a size equal to RDF::GetNSlots(). Besides being more robust (less reliance on shared global state), this patch guarantees that if the number of threads in the thread pool is different than what RDF requests, we get a warning from TThreadExecutor.
Loading
Please register or sign in to comment