* Added a flag to torrent::Poll that lets us set which Poll objects should waive the global lock.

git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@1118 e378c898-3ddf-0310-93e7-cc216c733640
This commit is contained in:
rakshasa
2009-12-24 10:53:52 +00:00
parent 2c7563825c
commit 6188d110c5
+1
View File
@@ -50,6 +50,7 @@ ThreadMain::init_thread() {
acquire_global_lock();
m_pollManager = core::PollManager::create_poll_manager();
m_pollManager->get_torrent_poll()->set_flags(torrent::Poll::flag_waive_global_lock);
m_state = STATE_INITIALIZED;
}