summaryrefslogtreecommitdiffstats
path: root/cpukit/score/include
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1996-06-07 15:22:19 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1996-06-07 15:22:19 +0000
commit81daab3e6bff81a3ae14991d0dc5c56883bf2316 (patch)
treeac3ba02b2b9e3d85841952b635248e8e85f8c25b /cpukit/score/include
parentchanged code which set errno and then returned -1 to use the macro (diff)
downloadrtems-81daab3e6bff81a3ae14991d0dc5c56883bf2316.tar.bz2
added states for "join at exit" and "interruptible by signal"
Diffstat (limited to 'cpukit/score/include')
-rw-r--r--cpukit/score/include/rtems/score/states.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/cpukit/score/include/rtems/score/states.h b/cpukit/score/include/rtems/score/states.h
index 1f8fd49fae..28ce3fd5ad 100644
--- a/cpukit/score/include/rtems/score/states.h
+++ b/cpukit/score/include/rtems/score/states.h
@@ -46,15 +46,18 @@ typedef unsigned32 States_Control;
#define STATES_WAITING_FOR_SEMAPHORE 0x0200
#define STATES_WAITING_FOR_MUTEX 0x0400
#define STATES_WAITING_FOR_CONDITION_VARIABLE 0x0800
-#define STATES_WAITING_FOR_RPC_REPLY 0x1000
-#define STATES_WAITING_FOR_PERIOD 0x2000
+#define STATES_WAITING_FOR_JOIN_AT_EXIT 0x1000
+#define STATES_WAITING_FOR_RPC_REPLY 0x2000
+#define STATES_WAITING_FOR_PERIOD 0x4000
+#define STATES_INTERRUPTIBLE_BY_SIGNAL 0x8000
#define STATES_LOCALLY_BLOCKED ( STATES_WAITING_FOR_BUFFER | \
STATES_WAITING_FOR_SEGMENT | \
STATES_WAITING_FOR_MESSAGE | \
+ STATES_WAITING_FOR_SEMAPHORE | \
STATES_WAITING_FOR_MUTEX | \
STATES_WAITING_FOR_CONDITION_VARIABLE | \
- STATES_WAITING_FOR_SEMAPHORE )
+ STATES_WAITING_FOR_JOIN_AT_EXIT )
#define STATES_WAITING_ON_THREAD_QUEUE \
( STATES_LOCALLY_BLOCKED | \