Changeset 06883e13 in rtems


Ignore:
Timestamp:
Aug 6, 1996, 4:24:06 PM (25 years ago)
Author:
Mark Johannes <Mark.Johannes@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
a61f1a46
Parents:
b521ae2
Message:

POSIX_Mutex_Default_attributes: changed prio_ceiling to maximum priority

Files:
2 edited

Legend:

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

    rb521ae2 r06883e13  
    5858  TRUE,                                    /* is_initialized */
    5959  PTHREAD_PROCESS_PRIVATE,                 /* process_shared */
    60   POSIX_SCHEDULER_MINIMUM_PRIORITY,        /* prio_ceiling   */
     60  POSIX_SCHEDULER_MAXIMUM_PRIORITY,        /* prio_ceiling   */
    6161  PTHREAD_PRIO_NONE,                       /* protocol       */
    6262  FALSE                                    /* recursive      */
     
    612612      return EINVAL;
    613613    case OBJECTS_LOCAL:
     614      *old_ceiling = the_mutex->Mutex.Attributes.priority_ceiling;
    614615      the_mutex->Mutex.Attributes.priority_ceiling = the_priority;
    615616      _CORE_mutex_Surrender(
  • cpukit/posix/src/mutex.c

    rb521ae2 r06883e13  
    5858  TRUE,                                    /* is_initialized */
    5959  PTHREAD_PROCESS_PRIVATE,                 /* process_shared */
    60   POSIX_SCHEDULER_MINIMUM_PRIORITY,        /* prio_ceiling   */
     60  POSIX_SCHEDULER_MAXIMUM_PRIORITY,        /* prio_ceiling   */
    6161  PTHREAD_PRIO_NONE,                       /* protocol       */
    6262  FALSE                                    /* recursive      */
     
    612612      return EINVAL;
    613613    case OBJECTS_LOCAL:
     614      *old_ceiling = the_mutex->Mutex.Attributes.priority_ceiling;
    614615      the_mutex->Mutex.Attributes.priority_ceiling = the_priority;
    615616      _CORE_mutex_Surrender(
Note: See TracChangeset for help on using the changeset viewer.