mirror of
https://github.com/rakshasa/rtorrent.git
synced 2026-08-12 13:12:32 +00:00
* More fiddling of the throttle code.
* Fixed a bug that caused idle looping due to epoll_wait timeout using msecs rather than usecs resolution. git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@590 e378c898-3ddf-0310-93e7-cc216c733640
This commit is contained in:
@@ -75,6 +75,8 @@
|
||||
|
||||
int64_t utils::Timer::m_cache;
|
||||
|
||||
uint32_t countTicks = 0;
|
||||
|
||||
void do_panic(int signum);
|
||||
void print_help();
|
||||
|
||||
@@ -226,6 +228,8 @@ main(int argc, char** argv) {
|
||||
uiControl.display()->adjust_layout();
|
||||
|
||||
while (!uiControl.is_shutdown_completed()) {
|
||||
countTicks++;
|
||||
|
||||
utils::Timer::update();
|
||||
utils::taskScheduler.execute(utils::Timer::cache());
|
||||
|
||||
|
||||
Reference in New Issue
Block a user