On 03/05/16 05:24, Chris Johns wrote:
+/**
+ * @brief Does mutex use priority ceiling.
+ *
+ * This routine returns true if the mutex's wait discipline is
+ * PRIORITY_CEILING and false otherwise.
+ *
+ * @param[in] the_attribute is the attribute set of the mutex.
+ *
+ * @retval true The mutex is using priority ceiling.
+ * @retval false The mutex is not using priority ceiling.
+ */
+RTEMS_INLINE_ROUTINE bool _CORE_mutex_Is_priority_ceiling(
+ const CORE_mutex_Attributes *the_attribute
+)
+{
+ return the_attribute->discipline ==
CORE_MUTEX_DISCIPLINES_PRIORITY_CEILING;
+}
+
+/**
+ * @brief Attempt to receive a unit from the_mutex.
+ *
[ I know this is copied in here. ]
What is a unit?
This documentation is not from me. I will rewrite and restructure the
CORE mutex soon, so all this will be hopefully fixed as a side-effect.
--
Sebastian Huber, embedded brains GmbH
Address : Dornierstr. 4, D-82178 Puchheim, Germany
Phone : +49 89 189 47 41-16
Fax : +49 89 189 47 41-09
E-Mail : sebastian.hu...@embedded-brains.de
PGP : Public key available on request.
Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.
_______________________________________________
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel