Changeset 297be5c in rtems


Ignore:
Timestamp:
Sep 5, 1996, 8:41:10 PM (24 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
65c421f
Parents:
7e230f10
Message:

pthread_mutex_setprioceiling: fixed bug where returned priority was

not converted from core priority to posix priority.

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • c/src/exec/posix/src/mutex.c

    r7e230f10 r297be5c  
    636636      return EINVAL;
    637637    case OBJECTS_LOCAL:
    638       *old_ceiling = the_mutex->Mutex.Attributes.priority_ceiling;
     638      *old_ceiling = _POSIX_Priority_From_core(
     639        the_mutex->Mutex.Attributes.priority_ceiling
     640      );
    639641      the_mutex->Mutex.Attributes.priority_ceiling = the_priority;
    640642      _CORE_mutex_Surrender(
  • cpukit/posix/src/mutex.c

    r7e230f10 r297be5c  
    636636      return EINVAL;
    637637    case OBJECTS_LOCAL:
    638       *old_ceiling = the_mutex->Mutex.Attributes.priority_ceiling;
     638      *old_ceiling = _POSIX_Priority_From_core(
     639        the_mutex->Mutex.Attributes.priority_ceiling
     640      );
    639641      the_mutex->Mutex.Attributes.priority_ceiling = the_priority;
    640642      _CORE_mutex_Surrender(
Note: See TracChangeset for help on using the changeset viewer.