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/coremuteximpl.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/coremuteximpl.h')
-rw-r--r-- | cpukit/score/include/rtems/score/coremuteximpl.h | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/cpukit/score/include/rtems/score/coremuteximpl.h b/cpukit/score/include/rtems/score/coremuteximpl.h index 4b144e8836..69935b5af3 100644 --- a/cpukit/score/include/rtems/score/coremuteximpl.h +++ b/cpukit/score/include/rtems/score/coremuteximpl.h @@ -66,13 +66,6 @@ typedef enum { */ CORE_MUTEX_TIMEOUT, -#if defined(__RTEMS_STRICT_ORDER_MUTEX__) - /** This status indicates that a thread not release the mutex which has - * the priority inheritance property in a right order. - */ - CORE_MUTEX_RELEASE_NOT_ORDER, -#endif - /** This status indicates that a thread of logically greater importance * than the ceiling priority attempted to lock this mutex. */ @@ -489,13 +482,6 @@ RTEMS_INLINE_ROUTINE int _CORE_mutex_Seize_interrupt_trylock_body( the_mutex->nest_count = 1; if ( _CORE_mutex_Is_inherit_priority( &the_mutex->Attributes ) || _CORE_mutex_Is_priority_ceiling( &the_mutex->Attributes ) ){ - -#ifdef __RTEMS_STRICT_ORDER_MUTEX__ - _Chain_Prepend_unprotected( &executing->lock_mutex, - &the_mutex->queue.lock_queue ); - the_mutex->queue.priority_before = executing->current_priority; -#endif - executing->resource_count++; } |