summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2013-10-23 11:29:17 (UTC)
committerSebastian Huber <sebastian.huber@embedded-brains.de>2013-10-31 13:29:18 (UTC)
commitb68cef17e0f9d468a4ab6654bf65444275bd82ef (patch)
treed632304399950bd6fe2ded3220080b6e60206d45
parentfbed79bdd02e16628dad465e6cdafedf82a566b8 (diff)
downloadrtems-b68cef17e0f9d468a4ab6654bf65444275bd82ef.tar.bz2
score: New state STATES_WAITING_FOR_BSD_WAKEUP
This state is necessery to implement the SLEEP(9) FreeBSD kernel API.
-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 bc89753..e7b0538 100644
--- a/cpukit/score/include/rtems/score/statesimpl.h
+++ b/cpukit/score/include/rtems/score/statesimpl.h
@@ -78,6 +78,8 @@ extern "C" {
#define STATES_WAITING_FOR_RWLOCK 0x20000
/** This macro corresponds to a task waiting for a system event. */
#define STATES_WAITING_FOR_SYSTEM_EVENT 0x40000
+/** This macro corresponds to a task waiting for BSD wakeup. */
+#define STATES_WAITING_FOR_BSD_WAKEUP 0x80000
/** This macro corresponds to a task which is in an interruptible
* blocking state.
@@ -94,6 +96,7 @@ extern "C" {
STATES_WAITING_FOR_JOIN_AT_EXIT | \
STATES_WAITING_FOR_SIGNAL | \
STATES_WAITING_FOR_BARRIER | \
+ STATES_WAITING_FOR_BSD_WAKEUP | \
STATES_WAITING_FOR_RWLOCK )
/** This macro corresponds to a task waiting which is blocked on