diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2016-04-28 06:26:01 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2016-05-02 07:46:16 +0200 |
commit | 500a8e9c62dca9f62611ecca64857dadb2bc0557 (patch) | |
tree | 1ffd836015e5397eeac688dc1c6ced38d587c40e /cpukit/score/include/rtems/score/coremutex.h | |
parent | score: Avoid Giant lock for set time of day (diff) | |
download | rtems-500a8e9c62dca9f62611ecca64857dadb2bc0557.tar.bz2 |
score: Delete __RTEMS_STRICT_ORDER_MUTEX__
Remove support for strict order mutexes.
Close #2124.
Diffstat (limited to 'cpukit/score/include/rtems/score/coremutex.h')
-rw-r--r-- | cpukit/score/include/rtems/score/coremutex.h | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/cpukit/score/include/rtems/score/coremutex.h b/cpukit/score/include/rtems/score/coremutex.h index c9b30dd956..41f1c4f22d 100644 --- a/cpukit/score/include/rtems/score/coremutex.h +++ b/cpukit/score/include/rtems/score/coremutex.h @@ -121,26 +121,6 @@ typedef struct { Priority_Control priority_ceiling; } CORE_mutex_Attributes; -#ifdef __RTEMS_STRICT_ORDER_MUTEX__ -/** - * @brief The control block to manage lock chain of priority inheritance mutex. - * - * The following defines the control block used to manage lock chain of - * priority inheritance mutex. - */ - typedef struct{ - /** This field is a chian of locked mutex by a thread,new mutex will - * be added to the head of queue, and the mutex which will be released - * must be the head of queue. - */ - Chain_Node lock_queue; - /** This field is the priority of thread before locking this mutex - * - */ - Priority_Control priority_before; - } CORE_mutex_order_list; -#endif - /** * @brief Control block used to manage each mutex. * @@ -170,11 +150,6 @@ typedef struct { * has not unlocked it. If the thread is not locked, there is no holder. */ Thread_Control *holder; -#ifdef __RTEMS_STRICT_ORDER_MUTEX__ - /** This field is used to manipulate the priority inheritance mutex queue*/ - CORE_mutex_order_list queue; -#endif - } CORE_mutex_Control; /**@}*/ |