summaryrefslogtreecommitdiffstats
path: root/cpukit/rtems/inline/rtems/rtems/attr.inl
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1998-08-21 16:54:17 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1998-08-21 16:54:17 +0000
commit7a035ebcc006d0195c660b71cc92609c99d635ba (patch)
tree6f69564a306d2f356a83f9711ff057d3abde2c10 /cpukit/rtems/inline/rtems/rtems/attr.inl
parentPatch from Eric Valette <valette@crf.canon.fr>: (diff)
downloadrtems-7a035ebcc006d0195c660b71cc92609c99d635ba.tar.bz2
Added system task attribute to allow one to create a task with "0" priority
via the user api.
Diffstat (limited to '')
-rw-r--r--cpukit/rtems/inline/rtems/rtems/attr.inl17
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 */