summaryrefslogtreecommitdiffstats
path: root/cpukit/score/include
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2009-06-01 21:44:01 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2009-06-01 21:44:01 +0000
commit931dd976bc501c0af8e4a7f8c40242185e7ff970 (patch)
treea742a5e88027361d5e7a7c752ff21c4da6eb8c6c /cpukit/score/include
parent2009-06-01 Joel Sherrill <joel.sherrill@OARcorp.com> (diff)
downloadrtems-931dd976bc501c0af8e4a7f8c40242185e7ff970.tar.bz2
2009-06-01 Joel Sherrill <joel.sherrill@OARcorp.com>
* score/include/rtems/score/thread.h, score/src/threadinitialize.c, score/src/threadreset.c, score/src/threadresume.c, score/src/threadsuspend.c: Nesting count on thread suspension is only supported from ITRON API so disable if ITRON is disabled.
Diffstat (limited to 'cpukit/score/include')
-rw-r--r--cpukit/score/include/rtems/score/thread.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/cpukit/score/include/rtems/score/thread.h b/cpukit/score/include/rtems/score/thread.h
index bd63e7a4ae..58c2e2e8ff 100644
--- a/cpukit/score/include/rtems/score/thread.h
+++ b/cpukit/score/include/rtems/score/thread.h
@@ -347,14 +347,18 @@ struct Thread_Control_struct {
MP_packet_Prefix *receive_packet;
#endif
#ifdef __RTEMS_STRICT_ORDER_MUTEX__
- /**This field is the head of queue of priority inheritance mutex holed by the thread*/
+ /** This field is the head of queue of priority inheritance mutex
+ * held by the thread.
+ */
Chain_Control lock_mutex;
#endif
/*================= end of common block =================*/
/** This field is the number of nested suspend calls. */
uint32_t suspend_count;
+#if defined(RTEMS_MULTIPROCESSING)
/** This field is true if the thread is offered globally */
bool is_global;
+#endif
/** This field is is true if the post task context switch should be
* executed for this thread at the next context switch.
*/