K 10 svn:author V 3 mdf K 8 svn:date V 27 2011-02-02T16:35:10.161026Z K 7 svn:log V 296 Put the general logic for being a CPU hog into a new function should_yield(). Use this in various places. Encapsulate the common case of check-and-yield into a new function maybe_yield(). Change several checks for a magic number of iterations to use should_yield() instead. MFC after: 1 week END