You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
concurrent call to methods like TDatabasePDG::Instance()->GetParticle(xxx)->GetName() can cause segmentation violation. Even with ROOT::EnableImplicitMT() Set
Expected behavior
ROOT::EnableImplicitMT() should make TDatabasePDG::GetParticle(...) thread safe without user taking locks
To Reproduce
Any program calling TDatabasePDG::Instance()->GetParticle(xxx)->GetName() at different thread
Describe the bug
concurrent call to methods like
TDatabasePDG::Instance()->GetParticle(xxx)->GetName()
can cause segmentation violation. Even withROOT::EnableImplicitMT()
SetExpected behavior
ROOT::EnableImplicitMT() should make TDatabasePDG::GetParticle(...) thread safe without user taking locks
To Reproduce
Any program calling
TDatabasePDG::Instance()->GetParticle(xxx)->GetName()
at different threadSetup
Additional context
https://root-forum.cern.ch/t/tdatabasepdg-is-not-thread-safe-while-creating-multiple-thread-only-instance-cause-log-spam/51957
The text was updated successfully, but these errors were encountered: