]> git.puffer.fish Git - matthieu/frr.git/commit
2005-04-27 Paul Jakma <paul.jakma@sun.com>
authorpaul <paul>
Wed, 27 Apr 2005 12:39:27 +0000 (12:39 +0000)
committerpaul <paul>
Wed, 27 Apr 2005 12:39:27 +0000 (12:39 +0000)
commit843696841b55343e45d6cfdad19035882a67b99f
tree62e6224fae2ea014023117b21b0980605b98472a
parent07334da01ca0a7b77cb11add3102b57077eb03eb
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 >.
lib/ChangeLog
lib/workqueue.c
lib/workqueue.h