diff options
author | Zac Medico <zmedico@gentoo.org> | 2008-07-12 23:45:29 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2008-07-12 23:45:29 +0000 |
commit | ecc3872f02c31d0f3ce8390749a7b89f694a4485 (patch) | |
tree | fc52b4fe8c96f56a0e529d8378914e5074b216f7 /bin/newbin | |
parent | 85092ca90d90b2814f5fae085737860799f28c7f (diff) | |
download | portage-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 'bin/newbin')
0 files changed, 0 insertions, 0 deletions