added debug message to dht. fixed while loop around condition variable in checker thread.

This commit is contained in:
Arvid Norberg
2007-03-06 17:27:17 +00:00
parent 7e17ff9d4a
commit a3dbea606e
2 changed files with 5 additions and 2 deletions

View File

@@ -120,7 +120,7 @@ namespace libtorrent { namespace detail
// if the job queue is empty and
// we shouldn't abort
// wait for a signal
if (m_torrents.empty() && !m_abort && !processing)
while (m_torrents.empty() && !m_abort && !processing)
m_cond.wait(l);
if (m_abort)