From 2d13f29afafdf2b8e4d035333d344542bbadf989 Mon Sep 17 00:00:00 2001
From: Gregory Nutt User's Manual by Gregory Nutt
- Last Updated: June 12, 2015 Last Updated: July 24, 2015NuttX Operating System
- The policy parameter may have the value SCHED_FIFO or SCHED_RR
- (SCHED_OTHER and SCHED_SPORADIC, in particular, are not supported).
+ The policy parameter may have the value SCHED_FIFO, SCHED_RR, or SCHED_SPORADIC.
+ SCHED_RR requires the configuration setting CONFIG_RR_INTERVAL > 0;
+ SCHED_SPORADIC requires the configuration setting CONFIG_SCHED_SPORADIC=y.
+ (SCHED_OTHER and non-standard scheduler policies, in particular, are not supported).
The SCHED_FIFO and SCHED_RR policies will have a single
- scheduling parameter, sched_priority.
+ scheduling parameter:
sched_priority
+ The thread priority.
+
+ The SCHED_SPORADIC policy has four additional scheduling parameters:
+
sched_ss_low_priority
+ Low scheduling priority for sporadic server.
+ sched_ss_repl_period
+ Replenishment period for sporadic server.
+ sched_ss_init_budget
+ Initial budget for sporadic server.
+ sched_ss_max_repl
+ Maximum pending replenishments for sporadic server.
+ Input Parameters: