diff options
Diffstat (limited to 'cpukit/rtems/inline/rtems/rtems/attr.inl')
-rw-r--r-- | cpukit/rtems/inline/rtems/rtems/attr.inl | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/cpukit/rtems/inline/rtems/rtems/attr.inl b/cpukit/rtems/inline/rtems/rtems/attr.inl index 387bf6b888..54dd93d729 100644 --- a/cpukit/rtems/inline/rtems/rtems/attr.inl +++ b/cpukit/rtems/inline/rtems/rtems/attr.inl @@ -196,6 +196,23 @@ RTEMS_INLINE_ROUTINE boolean _Attributes_Is_priority_ceiling( /*PAGE * + * _Attributes_Is_barrier_automatic + * + * DESCRIPTION: + * + * This function returns TRUE if the barrier automatic release + * attribute is enabled in the attribute_set and FALSE otherwise. + */ + +RTEMS_INLINE_ROUTINE boolean _Attributes_Is_barrier_automatic( + rtems_attribute attribute_set +) +{ + return ( attribute_set & RTEMS_BARRIER_AUTOMATIC_RELEASE ); +} + +/*PAGE + * * _Attributes_Is_system_task * * DESCRIPTION: |