summaryrefslogtreecommitdiffstats
path: root/cpukit/score/include/rtems/score/statesimpl.h
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2015-07-28 13:46:56 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2015-07-30 09:11:18 +0200
commit9e9e61d27d146e2ca83d5b0f590683a3f605c3f1 (patch)
treeb8ac4241112d2e6e00ba85601ce22fc85f2bd8c1 /cpukit/score/include/rtems/score/statesimpl.h
parentscore: Add scheduler <sys/lock.h> support (diff)
downloadrtems-9e9e61d27d146e2ca83d5b0f590683a3f605c3f1.tar.bz2
score: Add self-contained condition implementation
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 82d222c490..97cadb2888 100644
--- a/cpukit/score/include/rtems/score/statesimpl.h
+++ b/cpukit/score/include/rtems/score/statesimpl.h
@@ -97,6 +97,8 @@ extern "C" {
* blocking state.
*/
#define STATES_INTERRUPTIBLE_BY_SIGNAL 0x10000000
+/** This macro corresponds to a task waiting for a <sys/lock.h> condition. */
+#define STATES_WAITING_FOR_SYS_LOCK_CONDITION 0x20000000
/** This macro corresponds to a task waiting for a local object operation. */
#define STATES_LOCALLY_BLOCKED ( STATES_WAITING_FOR_BUFFER | \
@@ -112,6 +114,7 @@ extern "C" {
STATES_WAITING_FOR_SYS_LOCK_MUTEX | \
STATES_WAITING_FOR_SYS_LOCK_SEMAPHORE | \
STATES_WAITING_FOR_SYS_LOCK_FUTEX | \
+ STATES_WAITING_FOR_SYS_LOCK_CONDITION | \
STATES_WAITING_FOR_RWLOCK )
/** This macro corresponds to a task waiting which is blocked. */