[Lldb-commits] [lldb] r120813 - /lldb/trunk/include/lldb/Host/Predicate.h
Greg Clayton
gclayton at apple.com
Fri Dec 3 09:47:00 PST 2010
Author: gclayton
Date: Fri Dec 3 11:47:00 2010
New Revision: 120813
URL: http://llvm.org/viewvc/llvm-project?rev=120813&view=rev
Log:
Make sure timed_out is initialized to false just to be on the safe side.
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=120813&r1=120812&r2=120813&view=diff
==============================================================================
--- lldb/trunk/include/lldb/Host/Predicate.h (original)
+++ lldb/trunk/include/lldb/Host/Predicate.h Fri Dec 3 11:47:00 2010
@@ -309,6 +309,9 @@
#ifdef DB_PTHREAD_LOG_EVENTS
printf("%s (value = 0x%8.8x, abstime = %p), m_value = 0x%8.8x", __FUNCTION__, value, abstime, m_value);
#endif
+ if (timed_out)
+ *timed_out = false;
+
while (err == 0 && m_value != value)
{
err = m_condition.Wait (m_mutex.GetMutex(), abstime, timed_out);
More information about the lldb-commits
mailing list