From fc66e45b16a17c05aa01be7e5a06919fee3404e5 Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Fri, 24 Jul 2015 10:02:37 -0600 Subject: [PATCH] Update more information about the sporadic scheduler --- Documentation/NuttxUserGuide.html | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/Documentation/NuttxUserGuide.html b/Documentation/NuttxUserGuide.html index 088bad26185..210c2e157a3 100644 --- a/Documentation/NuttxUserGuide.html +++ b/Documentation/NuttxUserGuide.html @@ -1619,21 +1619,20 @@ int posix_spawn_file_actions_init(FAR posix_spawn_file_actions_t *file_actions);

- By default, NuttX performs strict priority scheduling: Tasks of higher - priority have exclusive access to the CPU until they become blocked. + By default, NuttX performs strict priority scheduling: Tasks of higher priority have exclusive access to the CPU until they become blocked. At that time, the CPU is available to tasks of lower priority. Tasks of equal priority are scheduled FIFO.

- Optionally, a Nuttx task or thread can be configured with round-robin - scheduler. This is similar to priority scheduling except that - tasks with equal priority and share CPU time via time-slicing. + Optionally, a Nuttx task or thread can be configured with round-robin or sporadic scheduler. + The round-roben is similar to priority scheduling except that tasks with equal priority and share CPU time via time-slicing. The time-slice interval is a constant determined by the configuration - setting CONFIG_RR_INTERVAL. + setting CONFIG_RR_INTERVAL to a positive, non-zero value. + Sporadic scheduling scheduling is more complex, varying the priority of a thread over a replenishment period. + Support for sporadic scheduling is enabled by the configuration option CONFIG_SCHED_SPORADIC.

- The OS interfaces described in the following paragraphs provide - a POSIX- compliant interface to the NuttX scheduler: + The OS interfaces described in the following paragraphs provide a POSIX- compliant interface to the NuttX scheduler: