[PATCH 17/19] score: __RTEMS_DO_NOT_INLINE_CORE_MUTEX_SEIZE__

Sebastian Huber sebastian.huber at embedded-brains.de
Tue May 3 05:28:08 UTC 2016


On 03/05/16 05:24, Chris Johns wrote:
>> +/**
>> + * @brief Does mutex use priority ceiling.
>> + *
>> + * This routine returns true if the mutex's wait discipline is
>> + * PRIORITY_CEILING and false otherwise.
>> + *
>> + * @param[in] the_attribute is the attribute set of the mutex.
>> + *
>> + * @retval true The mutex is using priority ceiling.
>> + * @retval false The mutex is not using priority ceiling.
>> + */
>> +RTEMS_INLINE_ROUTINE bool _CORE_mutex_Is_priority_ceiling(
>> +  const CORE_mutex_Attributes *the_attribute
>> +)
>> +{
>> +  return the_attribute->discipline == 
>> CORE_MUTEX_DISCIPLINES_PRIORITY_CEILING;
>> +}
>> +
>> +/**
>> + *  @brief Attempt to receive a unit from the_mutex.
>> + *
>
>  [ I know this is copied in here. ]
>
> What is a unit? 

This documentation is not from me. I will rewrite and restructure the 
CORE mutex soon, so all this will be hopefully fixed as a side-effect.

-- 
Sebastian Huber, embedded brains GmbH

Address : Dornierstr. 4, D-82178 Puchheim, Germany
Phone   : +49 89 189 47 41-16
Fax     : +49 89 189 47 41-09
E-Mail  : sebastian.huber at embedded-brains.de
PGP     : Public key available on request.

Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.



More information about the devel mailing list