Removed deprecated PollManager files.

This commit is contained in:
Jari Sundell
2011-12-12 03:32:36 +09:00
parent 4d1f5dce67
commit ee859a6137
14 changed files with 31 additions and 514 deletions
+2 -3
View File
@@ -49,9 +49,8 @@ ThreadMain::init_thread() {
// The main thread always holds the lock while running.
acquire_global_lock();
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_poll = core::create_poll();
m_poll->set_flags(torrent::Poll::flag_waive_global_lock);
m_state = STATE_INITIALIZED;
m_thread = pthread_self();