summaryrefslogtreecommitdiffstats
path: root/pym/_emerge/PollScheduler.py
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2011-03-10 19:29:57 -0800
committerZac Medico <zmedico@gentoo.org>2011-03-10 19:29:57 -0800
commitc051b01974fbfb1471b3fc60f8152cbec0b3034f (patch)
tree21039ea023fa6138f471698f8bacbc03b803ae83 /pym/_emerge/PollScheduler.py
parent79589a4ab283e2cd76452141d0a004a1cb347f24 (diff)
downloadportage-c051b01974fbfb1471b3fc60f8152cbec0b3034f.tar.gz
portage-c051b01974fbfb1471b3fc60f8152cbec0b3034f.tar.bz2
portage-c051b01974fbfb1471b3fc60f8152cbec0b3034f.zip
Scheduler: avoid infinite loop after CTRL-C
If CTRL-C was received at certain times, it was possible for discarded tasks to be erroneously left in Scheduler._running_tasks, which would cause the main loop to run infinitely. Thanks to David James <davidjames@google.com> for reporting this issue and helping to devise a solution.
Diffstat (limited to 'pym/_emerge/PollScheduler.py')
0 files changed, 0 insertions, 0 deletions