[Lldb-commits] [lldb] r156224 - /lldb/trunk/include/lldb/Host/Predicate.h

Jim Ingham jingham at apple.com
Fri May 4 16:54:57 PDT 2012


Author: jingham
Date: Fri May  4 18:54:57 2012
New Revision: 156224

URL: http://llvm.org/viewvc/llvm-project?rev=156224&view=rev
Log:
Missed a few uses of Mutex::GetMutex in template functions that don't seem to get instantiated on the Mac OS X build,
but were causing build failures on Linux.

Modified:
    lldb/trunk/include/lldb/Host/Predicate.h

Modified: lldb/trunk/include/lldb/Host/Predicate.h
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/include/lldb/Host/Predicate.h?rev=156224&r1=156223&r2=156224&view=diff
==============================================================================
--- lldb/trunk/include/lldb/Host/Predicate.h (original)
+++ lldb/trunk/include/lldb/Host/Predicate.h Fri May  4 18:54:57 2012
@@ -220,7 +220,7 @@
 #endif
         while (err == 0 && ((m_value & bits) == 0))
         {
-            err = m_condition.Wait (m_mutex.GetMutex(), abstime);
+            err = m_condition.Wait (m_mutex, abstime);
         }
 #ifdef DB_PTHREAD_LOG_EVENTS
         printf("%s (bits = 0x%8.8x), m_value = 0x%8.8x, returning 0x%8.8x\n", __FUNCTION__, bits, m_value, m_value & bits);
@@ -264,7 +264,7 @@
 #endif
         while (err == 0 && ((m_value & bits) != 0))
         {
-            err = m_condition.Wait (m_mutex.GetMutex(), abstime);
+            err = m_condition.Wait (m_mutex, abstime);
         }
 
 #ifdef DB_PTHREAD_LOG_EVENTS
@@ -388,7 +388,7 @@
 #endif
         while (err == 0 && m_value == value)
         {
-            err = m_condition.Wait (m_mutex.GetMutex(), abstime);
+            err = m_condition.Wait (m_mutex, abstime);
         }
 
         if (m_value != value)





More information about the lldb-commits mailing list