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/scheduler.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/scheduler.h')
-rw-r--r-- | cpukit/include/rtems/score/scheduler.h | 23 |
1 files changed, 10 insertions, 13 deletions
diff --git a/cpukit/include/rtems/score/scheduler.h b/cpukit/include/rtems/score/scheduler.h index 9a6515ba1e..101ea7a5c1 100644 --- a/cpukit/include/rtems/score/scheduler.h +++ b/cpukit/include/rtems/score/scheduler.h @@ -30,12 +30,7 @@ extern "C" { struct Per_CPU_Control; /** - * @defgroup RTEMSScoreScheduler Scheduler Handler - * - * @ingroup RTEMSScore - * - * This handler encapsulates functionality related to managing sets of threads - * that are ready for execution. + * @addtogroup RTEMSScoreScheduler * * @{ */ @@ -300,22 +295,24 @@ struct _Scheduler_Control { }; /** - * @brief Registered schedulers. + * @brief This table contains the configured schedulers. * - * Application provided via <rtems/confdefs.h>. + * The table is defined by <rtems/confdefs.h> through the + * #CONFIGURE_SCHEDULER_TABLE_ENTRIES application configuration option. * * @see _Scheduler_Count. */ extern const Scheduler_Control _Scheduler_Table[]; /** - * @brief Count of registered schedulers. + * @brief This constant contains the count of configured schedulers. * - * Application provided via <rtems/confdefs.h> on SMP configurations. + * In SMP configurations, the constant is defined by <rtems/confdefs.h> through + * the count of entries of the #CONFIGURE_SCHEDULER_TABLE_ENTRIES application + * configuration option. * - * It is very important that this is a compile-time constant on uni-processor - * configurations (in this case RTEMS_SMP is not defined) so that the compiler - * can optimize the some loops away + * In uniprocessor configurations, this is a compile time constant set to one. + * This is important so that the compiler can optimize some loops away. * * @see _Scheduler_Table. */ |