diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2017-03-10 15:11:59 -0500 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2017-03-10 16:14:49 -0500 |
commit | cb286ede9dc4d944fd532f946f3f6e6a6dc9de61 (patch) | |
tree | 31f1a5c8c8747f62652e3326fbecc76556101a19 /src/sched.h | |
parent | 16e3dbb18c9a99ee9a22a65046f0111d9339d390 (diff) | |
download | kutter-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/sched.h')
0 files changed, 0 insertions, 0 deletions