commit | f22d0eb0b438a8354144e3abe087f8b13e62cd55 | [log] [tgz] |
---|---|---|
author | Hung-ying Tyan <tyanh@google.com> | Thu Jun 23 18:32:59 2011 +0800 |
committer | Hung-ying Tyan <tyanh@google.com> | Thu Jun 23 19:23:13 2011 +0800 |
tree | 6ef94771f6cd8938aa5f013e97eb61daecb888ba | |
parent | 9dbe2c72276b9968593054dcfd39fd5135a574aa [diff] |
Execute all the due wakeup events in SipWakeupTimer. Events are sorted by periods. So events of larger periods may have trigger time (i.e., when the event should be processed) earlier than the ones of smaller periods. So need to scan the whole queue looking for due events. The scan takes O(n) time but we expect the queue size to be small. Change-Id: I08bd3bd9d4bb8decb78f3c91c943396463ca023a