diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2016-05-27 15:41:41 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2016-05-30 16:16:23 +0200 |
commit | 33e250c9fa370f620ddbc5850342d5a90b123524 (patch) | |
tree | a2f4082a58231054f084e9a77aa0af4e3111662d /cpukit/score/include/rtems/score/coremutex.h | |
parent | 5a598ac99b0de720a04afc5e2ac6764117589b90 (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.h | 24 |
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; /** |