Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix potential deadlock in setBinLabel.
This one only triggers in the error path, because getFullname tries to take a lock that we already hold. However, there is another opportunity for a deadlock via edm::Log* (which probably takes a lock), and the per ME-locks which could be taken before or after edm::Log* is called. I reviewed all usages of edm::Log* in DQMServices/Core and did not see anything problematic. Note that this is the only usage of edm::Log* in MonitorElement, and it now avoids taking multiple locks at the same time, so there should not be any more problems of this type.
- Loading branch information