diff options
| author | Jim Ingham <jingham@apple.com> | 2012-05-04 23:54:57 +0000 |
|---|---|---|
| committer | Jim Ingham <jingham@apple.com> | 2012-05-04 23:54:57 +0000 |
| commit | 444717b31884447bc72500223d976830d4c5280d (patch) | |
| tree | f73fce868c6977830845307299b4be8114aaa1af | |
| parent | 247e62a706ac0c21424f6ec6809440b73e69aa47 (diff) | |
| download | bcm5719-llvm-444717b31884447bc72500223d976830d4c5280d.tar.gz bcm5719-llvm-444717b31884447bc72500223d976830d4c5280d.zip | |
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.
llvm-svn: 156224
| -rw-r--r-- | lldb/include/lldb/Host/Predicate.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lldb/include/lldb/Host/Predicate.h b/lldb/include/lldb/Host/Predicate.h index efa85348cf3..d4fd39b2907 100644 --- a/lldb/include/lldb/Host/Predicate.h +++ b/lldb/include/lldb/Host/Predicate.h @@ -220,7 +220,7 @@ public: #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 @@ public: #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 @@ public: #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) |

