diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2020-07-03 12:41:47 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2020-09-18 18:52:49 +0200 |
commit | 96ea30f0c984e5df6cf9ed52d85d38cdd676f499 (patch) | |
tree | 045b6e1a2f649344606579d4f76e0e8061277858 /cpukit/include/rtems/score/schedulerimpl.h | |
parent | gitignore: ignore top-level ini files (diff) | |
download | rtems-96ea30f0c984e5df6cf9ed52d85d38cdd676f499.tar.bz2 |
score: Improve Scheduler Handler documentation
Diffstat (limited to 'cpukit/include/rtems/score/schedulerimpl.h')
-rw-r--r-- | cpukit/include/rtems/score/schedulerimpl.h | 29 |
1 files changed, 28 insertions, 1 deletions
diff --git a/cpukit/include/rtems/score/schedulerimpl.h b/cpukit/include/rtems/score/schedulerimpl.h index e7fbb8b166..aa52104aca 100644 --- a/cpukit/include/rtems/score/schedulerimpl.h +++ b/cpukit/include/rtems/score/schedulerimpl.h @@ -34,7 +34,34 @@ extern "C" { #endif /** - * @addtogroup RTEMSScoreScheduler + * @defgroup RTEMSScoreScheduler Scheduler Handler + * + * @ingroup RTEMSScore + * + * @brief This handler encapsulates functionality related to managing sets of + * threads that are ready for execution. + * + * Schedulers are used by the system to manage sets of threads that are ready + * for execution. A scheduler consists of + * + * * a scheduler algorithm implementation, + * + * * a scheduler index and an associated name, and + * + * * a set of processors owned by the scheduler (may be empty, but never + * overlaps with a set owned by another scheduler). + * + * Each thread uses exactly one scheduler as its home scheduler. Threads may + * temporarily use another scheduler due to actions of locking protocols. + * + * All properties of a scheduler can be configured and controlled by the user. + * Some properties are fixed at link time (defined by application configuration + * options), other properties can be changed at runtime through directive + * calls. + * + * The scheduler index, name, and initial processor set are defined for a + * particular application by the application configuration. The schedulers are + * registered in the ::_Scheduler_Table which has ::_Scheduler_Count entries. * * @{ */ |