OSDN Git Service

Add option for schedule_next_instance to force rescheduling
authorZach Johnson <zachoverflow@google.com>
Thu, 26 Mar 2015 22:07:43 +0000 (15:07 -0700)
committerAndre Eisenbach <eisenbach@google.com>
Thu, 26 Mar 2015 22:42:04 +0000 (22:42 +0000)
commit952d180f37fa4f8427eaa190b4c78601c18d2ae0
treec72dab4fc04ed71c2e39d08df137a00646f8f79a
parentd1d83beab6b157f9bb38dd01d7ed3d1877a06ffa
Add option for schedule_next_instance to force rescheduling

If we're rescheduling a periodic timer in the context of an alarm
expiration we want to force rescheduling to happen.

The alarm at the front of the list after scheduling the next
instance may be a different alarm. The old code would assume it was
already scheduled correctly, meaning nothing would ever get scheduled
after that.

Change-Id: I8accf5d004e69dfd6477ab7ec529eea42b3a88f8
osi/src/alarm.c