From 7a035ebcc006d0195c660b71cc92609c99d635ba Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Fri, 21 Aug 1998 16:54:17 +0000 Subject: Added system task attribute to allow one to create a task with "0" priority via the user api. --- cpukit/rtems/inline/rtems/rtems/attr.inl | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'cpukit/rtems/inline/rtems/rtems/attr.inl') 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 */ -- cgit v1.2.3