Moving thread code to libtorrent.

This commit is contained in:
Jari Sundell
2011-12-12 00:03:50 +09:00
parent 2d8036e3a8
commit 89213982d5
4 changed files with 12 additions and 34 deletions
+1
View File
@@ -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();