second pass over removal of Mutex and Condition

llvm-svn: 270024
This commit is contained in:
Saleem Abdulrasool committed 2016-05-19 05:13:57 +00:00
1 parent fe12d0e3e5
commit bb19a13c0b
84 files changed
+995 -1046

No files matched your search

+3 -2
View File
@@ -141,12 +141,13 @@ SBSymbol::GetInstructions (SBTarget target, const char *flavor_string)
SBInstructionList sb_instructions;
if (m_opaque_ptr)
{
Mutex::Locker api_locker;
ExecutionContext exe_ctx;
TargetSP target_sp (target.GetSP());
std::unique_lock<std::recursive_mutex> lock;
if (target_sp)
{
api_locker.Lock (target_sp->GetAPIMutex());
lock = std::unique_lock<std::recursive_mutex>(target_sp->GetAPIMutex());
target_sp->CalculateExecutionContext (exe_ctx);
}
if (m_opaque_ptr->ValueIsAddress())