diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2007-12-21 15:50:09 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2007-12-21 15:50:09 +0000 |
commit | fd84982c0019205ea5e4c226f47dd62480cfd5e6 (patch) | |
tree | b2915444f038f690cd390dfee72cc896319ba7b4 /cpukit/score/include/rtems/score/thread.h | |
parent | 2007-12-21 Joel Sherrill <joel.sherrill@OARcorp.com> (diff) | |
download | rtems-fd84982c0019205ea5e4c226f47dd62480cfd5e6.tar.bz2 |
2007-12-21 Xi Yang <hiyangxi@gmail.com>
* configure.ac, score/include/rtems/score/coremutex.h,
score/include/rtems/score/thread.h,
score/inline/rtems/score/coremutex.inl,
score/src/coremutexsurrender.c, score/src/threadinitialize.c: Add
support for proper stacking of priority inheritance on mutexes as
well as enforce proper order of release.
Diffstat (limited to 'cpukit/score/include/rtems/score/thread.h')
-rw-r--r-- | cpukit/score/include/rtems/score/thread.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/cpukit/score/include/rtems/score/thread.h b/cpukit/score/include/rtems/score/thread.h index 5bfd4534e9..9b9f324b9e 100644 --- a/cpukit/score/include/rtems/score/thread.h +++ b/cpukit/score/include/rtems/score/thread.h @@ -253,6 +253,7 @@ typedef struct { Priority_Control real_priority; /** This field is the number of mutexes currently held by this proxy. */ uint32_t resource_count; + /** This field is the blocking information for this proxy. */ Thread_Wait_information Wait; /** This field is the Watchdog used to manage proxy delays and timeouts. */ @@ -310,6 +311,10 @@ struct Thread_Control_struct { /** This field is the received response packet in an MP system. */ MP_packet_Prefix *receive_packet; #endif +#ifdef __STRICT_ORDER_MUTEX__ + /**This field is the head of queue of priority inheritance mutex holed 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; |