Typed too fast adding lockers. Actually put them in a locker.
llvm-svn: 163575
diff --git a/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp b/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
index 26104e5..ce9d71b 100644
--- a/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
+++ b/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
@@ -1739,7 +1739,7 @@
ThreadList &threads = GetThreadList();
{
- Mutex::Locker(threads.GetMutex());
+ Mutex::Locker locker(threads.GetMutex());
size_t num_threads = threads.GetSize();
for (size_t i = 0; i < num_threads; i++)
@@ -1774,7 +1774,7 @@
// have to run the risk of letting those threads proceed a bit.
{
- Mutex::Locker(threads.GetMutex());
+ Mutex::Locker locker(threads.GetMutex());
size_t num_threads = threads.GetSize();
for (size_t i = 0; i < num_threads; i++)