summaryrefslogtreecommitdiffstats
path: root/cpukit/score/include/rtems/score/statesimpl.h
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2015-03-27 21:13:29 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2015-04-08 11:48:15 +0200
commit1461aba8da79b7e37d789b2bd6032e09d7f888c2 (patch)
tree6fb0c23f615bd95438102776a5ff53fcff8024d2 /cpukit/score/include/rtems/score/statesimpl.h
parentrtems: Atomically suspend/resume tasks (diff)
downloadrtems-1461aba8da79b7e37d789b2bd6032e09d7f888c2.tar.bz2
score: Use _Thread_Clear_state() for _Thread_Ready
Diffstat (limited to 'cpukit/score/include/rtems/score/statesimpl.h')
-rw-r--r--cpukit/score/include/rtems/score/statesimpl.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/cpukit/score/include/rtems/score/statesimpl.h b/cpukit/score/include/rtems/score/statesimpl.h
index 4251b3c84d..074b3528e3 100644
--- a/cpukit/score/include/rtems/score/statesimpl.h
+++ b/cpukit/score/include/rtems/score/statesimpl.h
@@ -118,6 +118,9 @@ extern "C" {
STATES_WAITING_ON_THREAD_QUEUE | \
STATES_INTERRUPTIBLE_BY_SIGNAL )
+/** All state bits set to one (provided for _Thread_Ready()) */
+#define STATES_ALL_SET 0xffffffff
+
/**
* This function sets the given states_to_set into the current_state
* passed in. The result is returned to the user in current_state.