[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

No subject



with priority inherence or ceiling.

 

 

extract of the rtems_semaphore_create directive:

 

if ( _Attributes_Is_binary_semaphore( attribute_set ) ) {

      the_mutex_attributes.lock_nesting_behavior =
CORE_MUTEX_NESTING_ACQUIRES;

 

      switch ( the_mutex_attributes.discipline ) {

        case CORE_MUTEX_DISCIPLINES_FIFO:

        case CORE_MUTEX_DISCIPLINES_PRIORITY:

          the_mutex_attributes.only_owner_release = FALSE;

          break;

        case CORE_MUTEX_DISCIPLINES_PRIORITY_CEILING:

        case CORE_MUTEX_DISCIPLINES_PRIORITY_INHERIT:

          the_mutex_attributes.only_owner_release = TRUE;

          break;

      }

    }

 

My question is: why does this give an error with binary and not with simple
binaries?