diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2014-03-27 14:46:31 +0100 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2014-03-31 10:14:42 +0200 |
commit | 03e8928753ef76cb747b965938092c59d6306060 (patch) | |
tree | b97520d3bd562dc50a226b590d8626f2b4e85d19 /cpukit/score/include/rtems/score/coremutex.h | |
parent | score: Delete CORE_mutex_Control::holder_id (diff) | |
download | rtems-03e8928753ef76cb747b965938092c59d6306060.tar.bz2 |
score: Delete CORE_mutex_Control::lock
The holder field is enough to determine if a mutex is locked or not.
This leads also to better error status codes in case a
rtems_semaphore_release() is done for a mutex without having the
ownership.
Diffstat (limited to 'cpukit/score/include/rtems/score/coremutex.h')
-rw-r--r-- | cpukit/score/include/rtems/score/coremutex.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/cpukit/score/include/rtems/score/coremutex.h b/cpukit/score/include/rtems/score/coremutex.h index a29aee5ac8..ccf6066740 100644 --- a/cpukit/score/include/rtems/score/coremutex.h +++ b/cpukit/score/include/rtems/score/coremutex.h @@ -155,9 +155,6 @@ typedef struct { * behavior. */ CORE_mutex_Attributes Attributes; - /** This element contains the current state of the mutex. - */ - uint32_t lock; /** This element contains the number of times the mutex has been acquired * nested. This must be zero (0) before the mutex is actually unlocked. */ |