Mercurial > hg > qm-dsp
comparison thread/Thread.cpp @ 296:f6fb85073d64
* Condition fix (caused hang)
author | Chris Cannam <c.cannam@qmul.ac.uk> |
---|---|
date | Tue, 02 Jun 2009 11:10:40 +0000 |
parents | 2aed32965291 |
children | e4a57215ddee |
comparison
equal
deleted
inserted
replaced
295:1c9258dd155e | 296:f6fb85073d64 |
---|---|
257 } | 257 } |
258 | 258 |
259 #ifdef DEBUG_CONDITION | 259 #ifdef DEBUG_CONDITION |
260 cerr << "CONDITION DEBUG: " << (void *)GetCurrentThreadId() << ": Wait done on " << &m_condition << " \"" << m_name << "\"" << endl; | 260 cerr << "CONDITION DEBUG: " << (void *)GetCurrentThreadId() << ": Wait done on " << &m_condition << " \"" << m_name << "\"" << endl; |
261 #endif | 261 #endif |
262 | |
263 m_locked = true; | |
262 } | 264 } |
263 | 265 |
264 void | 266 void |
265 Condition::signal() | 267 Condition::signal() |
266 { | 268 { |