diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 1998-08-21 16:54:17 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 1998-08-21 16:54:17 +0000 |
commit | 7a035ebcc006d0195c660b71cc92609c99d635ba (patch) | |
tree | 6f69564a306d2f356a83f9711ff057d3abde2c10 /cpukit/rtems/inline/rtems/rtems/attr.inl | |
parent | Patch from Eric Valette <valette@crf.canon.fr>: (diff) | |
download | rtems-7a035ebcc006d0195c660b71cc92609c99d635ba.tar.bz2 |
Added system task attribute to allow one to create a task with "0" priority
via the user api.
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 f8f890ae04..3cec1edd3b 100644 --- a/cpukit/rtems/inline/rtems/rtems/attr.inl +++ b/cpukit/rtems/inline/rtems/rtems/attr.inl @@ -155,5 +155,22 @@ RTEMS_INLINE_ROUTINE boolean _Attributes_Is_priority_ceiling( return ( attribute_set & RTEMS_PRIORITY_CEILING ); } +/*PAGE + * + * _Attributes_Is_system_task + * + * DESCRIPTION: + * + * This function returns TRUE if the system task attribute + * is enabled in the attribute_set and FALSE otherwise. + */ + +RTEMS_INLINE_ROUTINE boolean _Attributes_Is_system_task( + rtems_attribute attribute_set +) +{ + return ( attribute_set & RTEMS_PRIORITY_CEILING ); +} + #endif /* end of include file */ |