From 7d91d722baf1f1ff275fd31500526bb2fd6df632 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Mon, 13 Dec 1999 15:29:20 +0000 Subject: 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. --- cpukit/rtems/macros/rtems/rtems/attr.inl | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'cpukit/rtems/macros/rtems/rtems') diff --git a/cpukit/rtems/macros/rtems/rtems/attr.inl b/cpukit/rtems/macros/rtems/rtems/attr.inl index 035a6b8bc5..516752b7d1 100644 --- a/cpukit/rtems/macros/rtems/rtems/attr.inl +++ b/cpukit/rtems/macros/rtems/rtems/attr.inl @@ -88,6 +88,15 @@ #define _Attributes_Is_priority_ceiling( _attribute_set ) \ ( (_attribute_set) & RTEMS_PRIORITY_CEILING ) +/*PAGE + * + * _Attributes_Is_nesting_allowed + * + */ + +#define _Attributes_Is_nesting_allowed( _attribute_set ) \ + ( !((_attribute_set) & RTEMS_NO_NESTING_ALLOWED) ) + /*PAGE * * _Attributes_Is_system_task -- cgit v1.2.3