diff options
author | Zac Medico <zmedico@gentoo.org> | 2008-07-11 02:38:35 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2008-07-11 02:38:35 +0000 |
commit | da8c62b6941d052ce5c197bad19a1b289f94a331 (patch) | |
tree | 0d503443fce30e08f2be94688faa7fdaedabf325 /doc/config | |
parent | 8bcd4a33e914f362cec4b7421c019a0969aa7276 (diff) | |
download | portage-da8c62b6941d052ce5c197bad19a1b289f94a331.tar.gz portage-da8c62b6941d052ce5c197bad19a1b289f94a331.tar.bz2 portage-da8c62b6941d052ce5c197bad19a1b289f94a331.zip |
Refactor and simplify the main task scheduling and poll loops:
* Make output handlers unregister themselves and call wait() to notify
exit listeners immediately. This makes the exit listeners more useful
for scheduling tasks. This makes the poll loop nice an clean because
it just calls the handlers and then the handlers can do the scheduling
when necessary.
* Make SequentialTaskQueue.add() and addFront() trigger scheduling
internally, so that it's more of a chain reaction than something that has
to be done explicitly.
svn path=/main/trunk/; revision=11013
Diffstat (limited to 'doc/config')
0 files changed, 0 insertions, 0 deletions