summaryrefslogtreecommitdiffstats
path: root/doc/portage.docbook
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2008-07-19 10:07:13 +0000
committerZac Medico <zmedico@gentoo.org>2008-07-19 10:07:13 +0000
commitd834a5341dcf3b53408265f75cecc640b6e4fc47 (patch)
treecd702339152ece27474955e7e11b1be2728e8954 /doc/portage.docbook
parent7f7756fd1e75d84d0ad52a8d5874673cfbc7222e (diff)
downloadportage-d834a5341dcf3b53408265f75cecc640b6e4fc47.tar.gz
portage-d834a5341dcf3b53408265f75cecc640b6e4fc47.tar.bz2
portage-d834a5341dcf3b53408265f75cecc640b6e4fc47.zip
* Call self._schedule() from inside Scheduler._poll(). This ensures that
new jobs can scheduled as soon a the load average is low enough, and one of the running jobs doesn't have to complete for _schedule() to get called. * Cache the result of _background_mode() so it doesn't have to be called inside _schedule(), since this method is called a lot more often now. * Move background related state adjustments into _background_mode(). * Call _status_display.display() unconditionally inside _schedule_tasks(), since we want to update the display to show current load average even if no new jobs are added. svn path=/main/trunk/; revision=11135
Diffstat (limited to 'doc/portage.docbook')
0 files changed, 0 insertions, 0 deletions