From fe1dc221b668d6046c0c7b1b09f64d817c764300 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Fri, 21 Dec 2012 10:17:34 +0100 Subject: score: Add _Objects_Active_count() --- cpukit/score/include/rtems/score/object.h | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'cpukit/score/include/rtems/score/object.h') diff --git a/cpukit/score/include/rtems/score/object.h b/cpukit/score/include/rtems/score/object.h index f2f4469368..91173c335a 100644 --- a/cpukit/score/include/rtems/score/object.h +++ b/cpukit/score/include/rtems/score/object.h @@ -862,6 +862,17 @@ void _Objects_Close( Objects_Control *the_object ); +/** + * @brief Returns the count of active objects. + * + * @param[in] information The object information table. + * + * @return The count of active objects. + */ +Objects_Maximum _Objects_Active_count( + const Objects_Information *information +); + /* * Pieces of object.inl are promoted out to the user */ -- cgit v1.2.3