Scheduler: only use poll timeout when needed
authorZac Medico <zmedico@gentoo.org>
Mon, 20 Aug 2012 20:37:53 +0000 (13:37 -0700)
committerZac Medico <zmedico@gentoo.org>
Mon, 20 Aug 2012 20:37:53 +0000 (13:37 -0700)
commit31b41fe7a20e6e0d19ff2383a746d61d8aa18b50
tree71826bf7ac651353548ff16916942897aa7242b8
parentfab71caabba4e57ffcbed0651abcee014d1c960f
Scheduler: only use poll timeout when needed

This avoids wasteful CPU consumption, as reported in bug #432024.
pym/_emerge/Scheduler.py