Ignore:
Timestamp:
Apr 19, 2016, 4:28:03 AM (5 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
5, master
Children:
adbedd1
Parents:
bbe654af
git-author:
Sebastian Huber <sebastian.huber@…> (04/19/16 04:28:03)
git-committer:
Sebastian Huber <sebastian.huber@…> (04/21/16 05:29:39)
Message:

posix: Avoid Giant lock for mutexes

Delete _POSIX_Mutex_Get(). Use _POSIX_Mutex_Get_interrupt_disable()
instead.

Update #2555.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpukit/posix/include/rtems/posix/muteximpl.h

    rbbe654af r48b04fc3  
    6767)
    6868{
    69   _CORE_mutex_Destroy( &the_mutex->Mutex );
    7069  _Objects_Free( &_POSIX_Mutex_Information, &the_mutex->Object );
    7170}
     
    121120
    122121/**
    123  *  @brief POSIX Mutex Get (Thread Dispatch Disable)
    124  *
    125  *  A support routine which translates the mutex id into a local pointer.
    126  *  As a side-effect, it may create the mutex.
    127  *
    128  *  @note This version of the method uses a dispatching critical section.
    129  */
    130 POSIX_Mutex_Control *_POSIX_Mutex_Get (
    131   pthread_mutex_t   *mutex,
    132   Objects_Locations *location
    133 );
    134 
    135 /**
    136122 *  @brief POSIX Mutex Get (Interrupt Disable)
    137123 *
Note: See TracChangeset for help on using the changeset viewer.