mirror of
https://github.com/rakshasa/rtorrent.git
synced 2026-08-17 23:52:30 +00:00
Related refactoring to updated of ThrottleList to use new Scheduler.
This commit is contained in:
+3
-3
@@ -159,7 +159,9 @@ main(int argc, char** argv) {
|
||||
srandom(random_seed);
|
||||
srand48(random_seed);
|
||||
|
||||
// Initialize logging:
|
||||
torrent::Poll::slot_create_poll() = [](){ return create_poll(); };
|
||||
|
||||
torrent::initialize_main_thread();
|
||||
torrent::log_initialize();
|
||||
|
||||
control = new Control;
|
||||
@@ -188,8 +190,6 @@ main(int argc, char** argv) {
|
||||
torrent::log_add_group_output(torrent::LOG_NOTICE, "important");
|
||||
torrent::log_add_group_output(torrent::LOG_INFO, "complete");
|
||||
|
||||
torrent::Poll::slot_create_poll() = [](){ return create_poll(); };
|
||||
|
||||
torrent::initialize();
|
||||
torrent::set_main_thread_slots(std::bind(&client_perform));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user