Thread-safety of ROOT::Math::Factory?

dear rooters,

I’d like to write a package that conducts maxLLH fits using the ROOT::Minuit2::Minuit2Minimizer in several parallel threads.
Are there any experiences if the ROOT::Math::factory::CreateMinimizer that I use for setting up the minimizer is thread safe?
I guess the implementation of ROOT::Math::factory::CreateMinimizer without the PluginHandler is thread safe from reading the code, right? Can I steer somehow which version of is taken ROOT::Math::factory::CreateMinimizer after root is compiled?

I’d like to have guidance on the topic to prevent me spending time on issues that others may have encountered already.

Cheers,
Peter

dear all,

OK, I created a ROOT::Minuit2::Minuit2Minimizer instance by hand and the problem is gone. I suspect the PluginManager or any of the objects used by it to be the problem.

But if you have any experiences on multithreading and ROOT::Math to share, please do so.

Cheers,
Peter