]> oss.titaniummirror.com Git - tinyos-2.x.git/commit
Fixed three bugs:
authorscipio <scipio>
Mon, 28 Dec 2009 23:12:13 +0000 (23:12 +0000)
committerscipio <scipio>
Mon, 28 Dec 2009 23:12:13 +0000 (23:12 +0000)
commit4d7a0136de287198f6bc9640625216377f700f0d
treeec309b3b53f890679596116f27cc1456ba7acd81
parent82b0ae40259e7b3a31b13b9a379d82c2011fd4c4
Fixed three bugs:
  1) Peter Bigot @ Rincon noted that the changed flag was incorrectly cleared
     and set, such that elapsed time would not be considered in trickle timers.
     This caused trickle timers to fire late.

  2) The possibility of a subtraction wraparound could cause timers to
     have very large values and fire very late.

  3) A repetition of subtracting the elapsed time (in both the fired
     event and in adjustTime) would cause timers to fire early.
tos/lib/net/TrickleTimerImplP.nc