From 5e9b32b439627068a0292370fe595220dbfc95a0 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Tue, 26 Sep 1995 19:27:15 +0000 Subject: posix support initially added --- cpukit/score/inline/rtems/score/tqdata.inl | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'cpukit/score/inline/rtems/score/tqdata.inl') diff --git a/cpukit/score/inline/rtems/score/tqdata.inl b/cpukit/score/inline/rtems/score/tqdata.inl index 3168d058f5..89b0241a3e 100644 --- a/cpukit/score/inline/rtems/score/tqdata.inl +++ b/cpukit/score/inline/rtems/score/tqdata.inl @@ -43,5 +43,18 @@ STATIC INLINE boolean _Thread_queue_Is_reverse_search ( return ( the_priority & 0x20 ); } +/*PAGE + * + * _Thread_queue_Get_number_waiting + * + */ + +STATIC INLINE unsigned32 _Thread_queue_Get_number_waiting ( + Thread_queue_Control *the_thread_queue +) +{ + return ( the_thread_queue->count ); +} + #endif /* end of include file */ -- cgit v1.2.3