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.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/include/scheduler.h b/src/include/scheduler.h
index 194187be9..dbeb8ee1e 100644
--- a/src/include/scheduler.h
+++ b/src/include/scheduler.h
@@ -57,8 +57,14 @@
* @extends ThreadsQueue
*/
typedef struct {
- ThreadsQueue r_queue;
+ /** Next \p Thread in the ready list.*/
+ Thread *p_next;
+ /** Previous \p Thread in the ready list.*/
+ Thread *p_prev;
+ /* End of the fields shared with the ThreadsQueue structure. */
+ /** The thread priority.*/
tprio_t r_prio;
+ /* End of the fields shared with the Thread structure. */
#ifdef CH_USE_ROUNDROBIN
cnt_t r_preempt;
#endif