[Python-Dev] Signals+Threads (PyGTK waking up 10x/sec).

Guido van Rossum guido at python.org
Wed Dec 12 23:52:18 CET 2007


On Dec 12, 2007 2:42 PM, Greg Ewing <greg.ewing at canterbury.ac.nz> wrote:
> But there's no excuse for using CPU when the application
> truly isn't doing anything other than waiting for
> something to happen.

There are tons of situations where polling is quite reasonable as logn
as it involves a sleep.

-- 
--Guido van Rossum (home page: http://www.python.org/~guido/)


More information about the Python-Dev mailing list