summaryrefslogtreecommitdiffstats
path: root/cpukit/score/include/rtems/score/thread.h
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2014-03-17 10:12:14 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2014-03-31 08:29:43 +0200
commit5c731a83485ce3e7a6b6556e7a38b92d10a98cd6 (patch)
treebee44daeabdb237541a911283651f43c91b1c049 /cpukit/score/include/rtems/score/thread.h
parentscore: Delete post-switch API extensions (diff)
downloadrtems-5c731a83485ce3e7a6b6556e7a38b92d10a98cd6.tar.bz2
score: Use thread action for thread restart
The thread restart is now supported on SMP. New test smptests/smpthreadlife01.
Diffstat (limited to 'cpukit/score/include/rtems/score/thread.h')
-rw-r--r--cpukit/score/include/rtems/score/thread.h5
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 e5a1a55acd..d853aa035a 100644
--- a/cpukit/score/include/rtems/score/thread.h
+++ b/cpukit/score/include/rtems/score/thread.h
@@ -396,6 +396,10 @@ typedef struct {
Chain_Control Chain;
} Thread_Action_control;
+typedef struct {
+ Thread_Action Action;
+} Thread_Life_control;
+
/**
* This structure defines the Thread Control Block (TCB).
*/
@@ -543,6 +547,7 @@ struct Thread_Control_struct {
*/
Chain_Control Key_Chain;
+ Thread_Life_control Life;
};
#if (CPU_PROVIDES_IDLE_THREAD_BODY == FALSE)