mirror of
https://github.com/rakshasa/rtorrent.git
synced 2026-10-07 22:59:21 +00:00
Moving thread code to libtorrent.
This commit is contained in:
@@ -51,6 +51,7 @@ ThreadMain::init_thread() {
|
||||
|
||||
m_pollManager = core::PollManager::create_poll_manager();
|
||||
m_pollManager->get_torrent_poll()->set_flags(torrent::Poll::flag_waive_global_lock);
|
||||
m_poll = m_pollManager->get_torrent_poll();
|
||||
|
||||
m_state = STATE_INITIALIZED;
|
||||
m_thread = pthread_self();
|
||||
|
||||
Reference in New Issue
Block a user