---
.../score/include/rtems/score/prioritybitmapimpl.h | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/cpukit/score/include/rtems/score/prioritybitmapimpl.h
b/cpukit/score/include/rtems/score/prioritybitmapimpl.h
index 27be57e..717af90 100644
--- a/cpukit/score/include/rtems/score/prioritybitmapimpl.h
+++ b/cpukit/score/include/rtems/score/prioritybitmapimpl.h
@@ -242,6 +242,11 @@ RTEMS_INLINE_ROUTINE Priority_Control
_Priority_bit_map_Get_highest( void )
_Priority_Bits_index( minor );
}
+RTEMS_INLINE_ROUTINE bool _Priority_bit_map_Is_empty( void )
+{
+ return _Priority_Major_bit_map == 0;
+}
+
/**
* This routine initializes the_priority_map so that it
* contains the information necessary to manage a thread
--
1.7.7
_______________________________________________
rtems-devel mailing list
[email protected]
http://www.rtems.org/mailman/listinfo/rtems-devel