mirror of
https://github.com/rakshasa/rtorrent.git
synced 2026-08-12 13:12:32 +00:00
* More work on the threading stuff.
git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@1113 e378c898-3ddf-0310-93e7-cc216c733640
This commit is contained in:
@@ -46,6 +46,9 @@ ThreadMain::~ThreadMain() {
|
||||
|
||||
void
|
||||
ThreadMain::init_thread() {
|
||||
// The main thread always holds the lock while running.
|
||||
acquire_global_lock();
|
||||
|
||||
m_pollManager = core::PollManager::create_poll_manager();
|
||||
|
||||
m_state = STATE_INITIALIZED;
|
||||
|
||||
Reference in New Issue
Block a user