From ebdd2a343181ef5f3fc2f1330930b0ea5c0ed8a4 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Fri, 23 Sep 2016 13:24:06 +0200 Subject: score: Add scheduler node requests Add the ability to add/remove scheduler nodes to/from the set of scheduler nodes available to the schedulers for a particular thread. Update #2556. --- cpukit/score/include/rtems/score/thread.h | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'cpukit/score/include/rtems/score/thread.h') diff --git a/cpukit/score/include/rtems/score/thread.h b/cpukit/score/include/rtems/score/thread.h index eb272e6c01..236eaed064 100644 --- a/cpukit/score/include/rtems/score/thread.h +++ b/cpukit/score/include/rtems/score/thread.h @@ -300,6 +300,21 @@ typedef struct { * This chain is protected by the thread wait lock. */ Chain_Control Wait_nodes; + + /** + * @brief Scheduler nodes immediately available to the schedulers for this + * thread. + * + * This chain is protected by the thread state lock. + */ + Chain_Control Scheduler_nodes; + + /** + * @brief List of pending scheduler node requests. + * + * This list is protected by the thread scheduler lock. + */ + Scheduler_Node *requests; #endif /** -- cgit v1.2.3