scheduler: refactor round-robin loop
authorBrian Norris <banorris@uci.edu>
Sat, 16 Feb 2013 02:22:49 +0000 (18:22 -0800)
committerBrian Norris <banorris@uci.edu>
Sat, 16 Feb 2013 02:36:11 +0000 (18:36 -0800)
commitd496f3fa3c31e7f2ed84a2e19e9c2b3993dca1a7
treed63820ea605d087963ca597451414e48e0d147be
parent8d9a43be3bc794d7c9096dbda88640eb2fa99ee6
scheduler: refactor round-robin loop

This is the same computation, represented more clearly as a for loop
which, if it reaches the completion condition, means that it did not
find an enabled thread.
schedule.cc