aboutsummaryrefslogtreecommitdiffstats
path: root/src/sam3x8e/timer.c
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2017-03-10 15:11:59 -0500
committerKevin O'Connor <kevin@koconnor.net>2017-03-10 16:14:49 -0500
commitcb286ede9dc4d944fd532f946f3f6e6a6dc9de61 (patch)
tree31f1a5c8c8747f62652e3326fbecc76556101a19 /src/sam3x8e/timer.c
parent16e3dbb18c9a99ee9a22a65046f0111d9339d390 (diff)
downloadkutter-cb286ede9dc4d944fd532f946f3f6e6a6dc9de61.tar.gz
kutter-cb286ede9dc4d944fd532f946f3f6e6a6dc9de61.tar.xz
kutter-cb286ede9dc4d944fd532f946f3f6e6a6dc9de61.zip
sched: Use a sentinel timer at the end of the timer_list
Introduce a dummy sentinel timer object that is always the last item on timer_list. This optimizes the timer_list walking code as it no longer needs to check for NULL when traversing the list. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'src/sam3x8e/timer.c')
0 files changed, 0 insertions, 0 deletions