summaryrefslogtreecommitdiffstats
path: root/pym/output.py
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2008-07-12 23:45:29 +0000
committerZac Medico <zmedico@gentoo.org>2008-07-12 23:45:29 +0000
commitecc3872f02c31d0f3ce8390749a7b89f694a4485 (patch)
treefc52b4fe8c96f56a0e529d8378914e5074b216f7 /pym/output.py
parent85092ca90d90b2814f5fae085737860799f28c7f (diff)
downloadportage-ecc3872f02c31d0f3ce8390749a7b89f694a4485.tar.gz
portage-ecc3872f02c31d0f3ce8390749a7b89f694a4485.tar.bz2
portage-ecc3872f02c31d0f3ce8390749a7b89f694a4485.zip
* Wrap calls to PollScheduler._schedule_tasks() with a _schedule() method
that automatically returns early from any recursive calls that the _schedule_tasks() call might trigger. This makes _schedule() safe to call from inside exit listeners. * Call _schedule() inside Scheduler._job_exit() to trigger a new job when possible. * Fix SequentialTaskQueue._task_exit() to avoid a potential KeyError if the task had already been removed from self.running_tasks for some reason. svn path=/main/trunk/; revision=11030
Diffstat (limited to 'pym/output.py')
0 files changed, 0 insertions, 0 deletions