diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 1999-12-13 15:29:20 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 1999-12-13 15:29:20 +0000 |
commit | 7d91d722baf1f1ff275fd31500526bb2fd6df632 (patch) | |
tree | 4200d45e53e783ea350265ba4267083b51566523 /cpukit/rtems/inline/rtems/rtems/attr.inl | |
parent | Corrected order of output. (diff) | |
download | rtems-7d91d722baf1f1ff275fd31500526bb2fd6df632.tar.bz2 |
First attempt at adding simple binary semaphore in addition to the current
"mutex" and counting semaphore. This is at the request of Eric Norum
and his EPICS porting effort.
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 0f9e3bbbf9..94a8052648 100644 --- a/cpukit/rtems/inline/rtems/rtems/attr.inl +++ b/cpukit/rtems/inline/rtems/rtems/attr.inl @@ -158,6 +158,23 @@ RTEMS_INLINE_ROUTINE boolean _Attributes_Is_priority_ceiling( /*PAGE * + * _Attributes_Is_nesting_allowed + * + * DESCRIPTION: + * + * This function returns TRUE if the nesting allowed attribute + * is enabled in the attribute_set and FALSE otherwise. + */ + +RTEMS_INLINE_ROUTINE boolean _Attributes_Is_nesting_allowed( + rtems_attribute attribute_set +) +{ + return ( !(attribute_set & RTEMS_NO_NESTING_ALLOWED) ); +} + +/*PAGE + * * _Attributes_Is_system_task * * DESCRIPTION: |