diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2016-09-23 13:24:06 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2016-11-02 10:05:42 +0100 |
commit | ebdd2a343181ef5f3fc2f1330930b0ea5c0ed8a4 (patch) | |
tree | d3d50b10d232eb7e1ccc743b07b8f7ab1d195660 /cpukit/score/include/rtems/score/thread.h | |
parent | score: Protect thread CPU by thread scheduler lock (diff) | |
download | rtems-ebdd2a343181ef5f3fc2f1330930b0ea5c0ed8a4.tar.bz2 |
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.
Diffstat (limited to '')
-rw-r--r-- | cpukit/score/include/rtems/score/thread.h | 15 |
1 files changed, 15 insertions, 0 deletions
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 /** |