diff options
| author | Felix Domke <tmbinc@elitedvb.net> | 2009-04-24 02:39:58 +0200 |
|---|---|---|
| committer | Felix Domke <tmbinc@elitedvb.net> | 2009-04-24 02:39:58 +0200 |
| commit | 056af5306995176e457ddd471aa2b5c3a5223c4f (patch) | |
| tree | 81ef9402dae9d422e0e436bc8532b4c431d20f6e /lib/base/thread.cpp | |
| parent | 8deb6949b9d5641d09b5c97d37672d99a4f0f5c2 (diff) | |
| download | enigma2-056af5306995176e457ddd471aa2b5c3a5223c4f.tar.gz enigma2-056af5306995176e457ddd471aa2b5c3a5223c4f.zip | |
more debug
Diffstat (limited to 'lib/base/thread.cpp')
| -rw-r--r-- | lib/base/thread.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/base/thread.cpp b/lib/base/thread.cpp index db6deb35..56467597 100644 --- a/lib/base/thread.cpp +++ b/lib/base/thread.cpp @@ -90,6 +90,8 @@ int eThread::sync(void) int res; m_state.down(); /* this might block */ res = m_alive; + if (m_state.value() != 0) + eFatal("eThread::sync: m_state.value() == %d", m_state.value()); ASSERT(m_state.value() == 0); m_state.up(); return res; /* 0: thread is guaranteed not to run. 1: state unknown. */ |
