aboutsummaryrefslogtreecommitdiffstats
path: root/src/include/scheduler.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/scheduler.h')
-rw-r--r--src/include/scheduler.h17
1 files changed, 7 insertions, 10 deletions
diff --git a/src/include/scheduler.h b/src/include/scheduler.h
index bd44451d6..fde23a0ce 100644
--- a/src/include/scheduler.h
+++ b/src/include/scheduler.h
@@ -52,21 +52,18 @@
* @extends ThreadsQueue
*/
typedef struct {
- /** Next @p Thread in the ready list.*/
- Thread *p_next;
- /** Previous @p Thread in the ready list.*/
- Thread *p_prev;
+ Thread *p_next; /**< Next @p Thread in the ready list.*/
+ Thread *p_prev; /**< Previous @p Thread in the ready
+ list.*/
/* End of the fields shared with the ThreadsQueue structure. */
- /** The thread priority.*/
- tprio_t r_prio;
+ tprio_t r_prio; /**< This field must be initialized to
+ zero.*/
/* End of the fields shared with the Thread structure. */
#ifdef CH_USE_ROUNDROBIN
- /** Round robin counter.*/
- cnt_t r_preempt;
+ cnt_t r_preempt; /**< Round robin counter.*/
#endif
#ifndef CH_CURRP_REGISTER_CACHE
- /** The currently running thread.*/
- Thread *r_current;
+ Thread *r_current; /**< The currently running thread.*/
#endif
} ReadyList;