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>
Fri, 11 Mar 2011 06:02:19 +0000 (22:02 -0800)
commit9411ac7406c6e775998bf6055ca8f022acce9e25
tree3f3ce2da2f612a389d8855ce3f50bb274d4b5ecb
parent33946e6594e16d1c8ff493cf71b8587878ec7b29
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