diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2016-05-13 11:22:39 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2016-05-20 07:49:38 +0200 |
commit | 862a0eeb1197539c0e69381cb5aaccb9e1c64c0f (patch) | |
tree | 05a2d2116e3a521ddf3843aba5382354507e856b /cpukit/score/include/rtems/score/thread.h | |
parent | score: Split _Thread_Restart() (diff) | |
download | rtems-862a0eeb1197539c0e69381cb5aaccb9e1c64c0f.tar.bz2 |
score: Rework _Thread_Restart_other()
Rework _Thread_Restart_other() to use _Thread_Change_life_locked().
Cope with concurrent change requests by means of a pending request
counter.
Update #2555.
Update #2626.
Diffstat (limited to '')
-rw-r--r-- | cpukit/score/include/rtems/score/thread.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/cpukit/score/include/rtems/score/thread.h b/cpukit/score/include/rtems/score/thread.h index 9b35b85f91..6d41d4d4c7 100644 --- a/cpukit/score/include/rtems/score/thread.h +++ b/cpukit/score/include/rtems/score/thread.h @@ -543,6 +543,11 @@ typedef struct { * @brief The current thread life state. */ Thread_Life_state state; + + /** + * @brief The count of pending life change requests. + */ + uint32_t pending_life_change_requests; } Thread_Life_control; #if defined(RTEMS_SMP) |