Changeset 86458b0e in rtems


Ignore:
Timestamp:
Mar 2, 2009, 4:13:35 PM (10 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.8
Children:
5ab52fb
Parents:
cc88fb7
Message:

2009-03-02 Joel Sherrill <joel.sherrill@…>

PR 1388/cpukit

  • rtems/src/semcreate.c: Classic Semaphores allow both priority inherit and ceiling attributes to be set on semaphore create. These attributes are mutually exclusive and this should be an error.
Location:
cpukit
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • cpukit/ChangeLog

    rcc88fb7 r86458b0e  
     12009-03-02      Joel Sherrill <joel.sherrill@OARcorp.com>
     2
     3        PR 1388/cpukit
     4        * rtems/src/semcreate.c: Classic Semaphores allow both priority inherit
     5        and ceiling attributes to be set on semaphore create. These
     6        attributes are mutually exclusive and this should be an error.
     7
    182009-01-29       Nickolay Semyonov-Kolchin <nbkolchin@gmail.com>
    29
  • cpukit/rtems/src/semcreate.c

    rcc88fb7 r86458b0e  
    1616 *     + release a semaphore
    1717 *
    18  *  COPYRIGHT (c) 1989-1999.
     18 *  COPYRIGHT (c) 1989-2009.
    1919 *  On-Line Applications Research Corporation (OAR).
    2020 *
     
    111111
    112112  }
     113
     114  if ( _Attributes_Is_inherit_priority( attribute_set ) &&
     115       _Attributes_Is_priority_ceiling( attribute_set ) )
     116    return RTEMS_NOT_DEFINED;
    113117
    114118  if ( !_Attributes_Is_counting_semaphore( attribute_set ) && ( count > 1 ) )
Note: See TracChangeset for help on using the changeset viewer.