summaryrefslogtreecommitdiff
path: root/nuttx/sched/sched/sched.h
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/sched/sched/sched.h')
-rw-r--r--nuttx/sched/sched/sched.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/nuttx/sched/sched/sched.h b/nuttx/sched/sched/sched.h
index 47d6838f8..c6a6fd800 100644
--- a/nuttx/sched/sched/sched.h
+++ b/nuttx/sched/sched/sched.h
@@ -234,9 +234,14 @@ int sched_reprioritize(FAR struct tcb_s *tcb, int sched_priority);
sched_setpriority(tcb,sched_priority)
#endif
+
#ifdef CONFIG_SCHED_TICKLESS
+unsigned int sched_timer_cancel(void);
+void sched_timer_resume(void);
void sched_timer_reassess(void);
#else
+# define sched_timer_cancel() (0)
+# define sched_timer_resume()
# define sched_timer_reassess()
#endif