From a66fcc57aa7d448207b918c4764cc3a0d16b6f7e Mon Sep 17 00:00:00 2001 From: Mark Johannes Date: Tue, 13 Aug 1996 20:43:51 +0000 Subject: removed Thread_queue_Get_number_waiting --- cpukit/score/inline/rtems/score/tqdata.inl | 16 ---------------- cpukit/score/macros/rtems/score/tqdata.inl | 9 --------- 2 files changed, 25 deletions(-) (limited to 'cpukit/score') diff --git a/cpukit/score/inline/rtems/score/tqdata.inl b/cpukit/score/inline/rtems/score/tqdata.inl index 901cdcc2ba..233c02ce3a 100644 --- a/cpukit/score/inline/rtems/score/tqdata.inl +++ b/cpukit/score/inline/rtems/score/tqdata.inl @@ -52,22 +52,6 @@ RTEMS_INLINE_ROUTINE boolean _Thread_queue_Is_reverse_search ( return ( the_priority & TASK_QUEUE_DATA_REVERSE_SEARCH_MASK ); } -/*PAGE - * - * _Thread_queue_Get_number_waiting - * - * DESCRIPTION: - * - * This function returns the number of threads waiting on this thread queue. - */ - -RTEMS_INLINE_ROUTINE unsigned32 _Thread_queue_Get_number_waiting ( - Thread_queue_Control *the_thread_queue -) -{ - return ( the_thread_queue->count ); -} - /*PAGE * * _Thread_queue_Enter_critical_section diff --git a/cpukit/score/macros/rtems/score/tqdata.inl b/cpukit/score/macros/rtems/score/tqdata.inl index 5ffb79bcb1..4fb8abb971 100644 --- a/cpukit/score/macros/rtems/score/tqdata.inl +++ b/cpukit/score/macros/rtems/score/tqdata.inl @@ -35,15 +35,6 @@ #define _Thread_queue_Is_reverse_search( _the_priority ) \ ( (_the_priority) & TASK_QUEUE_DATA_REVERSE_SEARCH_MASK ) -/*PAGE - * - * _Thread_queue_Get_number_waiting - * - */ - -#define _Thread_queue_Get_number_waiting( _the_thread_queue ) \ - ( (_the_thread_queue)->count ) - /*PAGE * * _Thread_queue_Enter_critical_section -- cgit v1.2.3