summaryrefslogtreecommitdiff
path: root/cpukit/score/include/rtems/score/coremutex.h
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2016-05-27 15:41:41 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2016-05-30 16:16:23 +0200
commit33e250c9fa370f620ddbc5850342d5a90b123524 (patch)
treea2f4082a58231054f084e9a77aa0af4e3111662d /cpukit/score/include/rtems/score/coremutex.h
parent5a598ac99b0de720a04afc5e2ac6764117589b90 (diff)
score: Rework CORE priority ceiling mutex
Rework seize and surrender methods to use CORE_ceiling_mutex_Control. This eliminates CORE_mutex_Disciplines.
Diffstat (limited to 'cpukit/score/include/rtems/score/coremutex.h')
-rw-r--r--cpukit/score/include/rtems/score/coremutex.h24
1 files changed, 0 insertions, 24 deletions
diff --git a/cpukit/score/include/rtems/score/coremutex.h b/cpukit/score/include/rtems/score/coremutex.h
index 173bb2efa6..704ea0da24 100644
--- a/cpukit/score/include/rtems/score/coremutex.h
+++ b/cpukit/score/include/rtems/score/coremutex.h
@@ -42,22 +42,6 @@ extern "C" {
/**@{*/
/**
- * @brief The blocking disciplines for a mutex.
- *
- * This enumerated type defines the blocking disciplines for a mutex.
- */
-typedef enum {
- /** This specifies that threads will wait for the mutex in priority order.
- * Additionally, the Priority Inheritance Protocol will be in effect.
- */
- CORE_MUTEX_DISCIPLINES_PRIORITY_INHERIT,
- /** This specifies that threads will wait for the mutex in priority order.
- * Additionally, the Priority Ceiling Protocol will be in effect.
- */
- CORE_MUTEX_DISCIPLINES_PRIORITY_CEILING
-} CORE_mutex_Disciplines;
-
-/**
* @brief The possible behaviors for lock nesting.
*
* This enumerated type defines the possible behaviors for
@@ -96,14 +80,6 @@ typedef struct {
* be when attempting to acquire the mutex when it is already locked.
*/
CORE_mutex_Nesting_behaviors lock_nesting_behavior;
- /** This field indicates whether threads waiting on the mutex block in
- * FIFO or priority order.
- */
- CORE_mutex_Disciplines discipline;
- /** This field contains the ceiling priority to be used if that protocol
- * is selected.
- */
- Priority_Control priority_ceiling;
} CORE_mutex_Attributes;
/**