diff thread/Thread.cpp @ 71:c10ac368f5cf

* Condition fix (caused hang)
author cannam
date Tue, 02 Jun 2009 11:10:40 +0000
parents 6afa0e011f74
children e4a57215ddee
line wrap: on
line diff
--- a/thread/Thread.cpp	Tue Jun 02 09:53:01 2009 +0000
+++ b/thread/Thread.cpp	Tue Jun 02 11:10:40 2009 +0000
@@ -259,6 +259,8 @@
 #ifdef DEBUG_CONDITION
     cerr << "CONDITION DEBUG: " << (void *)GetCurrentThreadId() << ": Wait done on " << &m_condition << " \"" << m_name << "\"" << endl;
 #endif
+
+    m_locked = true;
 }
 
 void