mirror of
https://github.com/rakshasa/rtorrent.git
synced 2026-10-09 23:59:22 +00:00
* 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:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user