summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Johns <chrisj@rtems.org>2016-07-22 11:19:48 +1000
committerChris Johns <chrisj@rtems.org>2016-07-26 09:54:11 +1000
commitf78a5f55da7cfcc659e351783319eeca82273abd (patch)
tree59f2c3f15e1601d856639aa95539bf21648d8516
parentposix: fix clock_nanosleep and nanosleep clock use (diff)
downloadrtems-f78a5f55da7cfcc659e351783319eeca82273abd.tar.bz2
score: Add a STATES_DEBUGGER for use by debugging agents to a thread's state.
-rw-r--r--cpukit/score/include/rtems/score/statesimpl.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/cpukit/score/include/rtems/score/statesimpl.h b/cpukit/score/include/rtems/score/statesimpl.h
index 596246c422..17b7342991 100644
--- a/cpukit/score/include/rtems/score/statesimpl.h
+++ b/cpukit/score/include/rtems/score/statesimpl.h
@@ -76,6 +76,8 @@ extern "C" {
#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 being held by the debugger. */
+#define STATES_DEBUGGER 0x100000
/** This macro corresponds to a task being a zombie. */
#define STATES_ZOMBIE 0x200000
/** This macro corresponds to a task those life is changing. */