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
This commit is contained in:
Jim Ingham 2012-05-04 23:54:57 +00:00
parent 247e62a706
commit 444717b318
1 changed files with 3 additions and 3 deletions

View File

@ -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)