commit | 843696841b55343e45d6cfdad19035882a67b99f | [log] [tgz] |
---|---|---|
author | paul <paul> | Wed Apr 27 12:39:27 2005 +0000 |
committer | paul <paul> | Wed Apr 27 12:39:27 2005 +0000 |
tree | 62e6224fae2ea014023117b21b0980605b98472a | |
parent | 07334da01ca0a7b77cb11add3102b57077eb03eb [diff] |
2005-04-27 Paul Jakma <paul.jakma@sun.com> * workqueue.h: (struct work_queue_item) change retry_count to ran, its a count of number item has been run. * workqueue.c: (show_work_queues) Fix formating of slightly bugfix: fix SIGFPE if wq->runs is 0. (work_queue_run) retry logic was slightly wrong. cycles.best is 0 initialy, granularity is 1, so update best if cycles >= granularity, not just >.