TH1::StatOverflows is not thread safe

TH1::StatOverflows relies on a static member variable to alter the behaviour of TH1::Fill, making it impossible to use the latter safely in a multi-threaded program.

Are there any plans to change this to allow proper operations in a multi-threaded program ?

P.S. looks like I asked a similar question 4 1/2 years ago: TH1::StatOverflows .

1 Like

Hi Andrea,

thanks for (re)reporting. I opened ROOT-9164 which is blocking the upgrade of the analysis tools for 6.16. We’ll be looking into this.

Cheers,
D