Protect m_managed by an own mutex to avoid potential deadlocks

Authored by zwabel on Jul 5 2016, 8:41 AM.

Description

Protect m_managed by an own mutex to avoid potential deadlocks

By giving m_managed an own mutex, it becomes possible to
query the duchain in the constructor of parse jobs without
risking a deadlock. In clang such a query is very useful
to determine the translation unit to parse for a certain
file.

Details

Committed
zwabelJul 5 2016, 8:41 AM
Parents
R32:5abba92236ec: Fix possible crash in ProblemStore::addDiagnostic
Branches
Unknown
Tags
Unknown