diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2016-04-19 06:28:03 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2016-04-21 07:29:39 +0200 |
commit | 48b04fc388a60fc6621233ddbb7cd65d89bb63d8 (patch) | |
tree | ebbb0661161ebe5b809fcde7627e1887811d1fc7 /cpukit/posix/include | |
parent | score: Add and use _CORE_mutex_Acquire_critical() (diff) | |
download | rtems-48b04fc388a60fc6621233ddbb7cd65d89bb63d8.tar.bz2 |
posix: Avoid Giant lock for mutexes
Delete _POSIX_Mutex_Get(). Use _POSIX_Mutex_Get_interrupt_disable()
instead.
Update #2555.
Diffstat (limited to 'cpukit/posix/include')
-rw-r--r-- | cpukit/posix/include/rtems/posix/muteximpl.h | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/cpukit/posix/include/rtems/posix/muteximpl.h b/cpukit/posix/include/rtems/posix/muteximpl.h index 1bd74cc994..fb30d5810e 100644 --- a/cpukit/posix/include/rtems/posix/muteximpl.h +++ b/cpukit/posix/include/rtems/posix/muteximpl.h @@ -66,7 +66,6 @@ RTEMS_INLINE_ROUTINE void _POSIX_Mutex_Free( POSIX_Mutex_Control *the_mutex ) { - _CORE_mutex_Destroy( &the_mutex->Mutex ); _Objects_Free( &_POSIX_Mutex_Information, &the_mutex->Object ); } @@ -120,19 +119,6 @@ RTEMS_INLINE_ROUTINE int _POSIX_Mutex_Translate_core_mutex_return_code( } /** - * @brief POSIX Mutex Get (Thread Dispatch Disable) - * - * A support routine which translates the mutex id into a local pointer. - * As a side-effect, it may create the mutex. - * - * @note This version of the method uses a dispatching critical section. - */ -POSIX_Mutex_Control *_POSIX_Mutex_Get ( - pthread_mutex_t *mutex, - Objects_Locations *location -); - -/** * @brief POSIX Mutex Get (Interrupt Disable) * * A support routine which translates the mutex id into a local pointer. |