PollScheduler: tweek termination logic
authorZac Medico <zmedico@gentoo.org>
Fri, 11 Mar 2011 06:02:19 +0000 (22:02 -0800)
committerZac Medico <zmedico@gentoo.org>
Mon, 14 Mar 2011 16:24:01 +0000 (09:24 -0700)
commitd57e5baf22dccb5160249299e6db039f69a4214d
tree1ce1ff8ff947f33e3ebd085e4e51396a908b480f
parentbcb3ead57e5f207652f506a13604f60dbebf047b
PollScheduler: tweek termination logic

* PollScheduler and all subclasses now use the _terminated_tasks
  variable to check whether or not _terminate_tasks() has been called,
  and behave appropriately in that case.

* The _schedule_tasks() method now has documentation about the
  relationship with _terminate_tasks() and _terminated_tasks.
pym/_emerge/MetadataRegen.py
pym/_emerge/PollScheduler.py
pym/_emerge/QueueScheduler.py
pym/_emerge/Scheduler.py