forked from premiere/premiere-libtorrent
*** empty log message ***
This commit is contained in:
parent
b632d8bc20
commit
3f8f6f7e19
|
@ -430,6 +430,15 @@ namespace libtorrent
|
||||||
// << "sleeping\n";
|
// << "sleeping\n";
|
||||||
m_selector.wait(500000, readable_clients, writable_clients, error_clients);
|
m_selector.wait(500000, readable_clients, writable_clients, error_clients);
|
||||||
|
|
||||||
|
#ifndef NDEBUG
|
||||||
|
for (std::vector<boost::shared_ptr<libtorrent::socket> >::iterator i =
|
||||||
|
writable_clients.begin();
|
||||||
|
i != writable_clients.end();
|
||||||
|
++i)
|
||||||
|
{
|
||||||
|
assert((*i)->is_writable());
|
||||||
|
}
|
||||||
|
#endif
|
||||||
boost::mutex::scoped_lock l(m_mutex);
|
boost::mutex::scoped_lock l(m_mutex);
|
||||||
|
|
||||||
// +1 for the listen socket
|
// +1 for the listen socket
|
||||||
|
|
Loading…
Reference in New Issue