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/macros/rtems/score/tqdata.inl | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'cpukit/score/macros/rtems/score/tqdata.inl') diff --git a/cpukit/score/macros/rtems/score/tqdata.inl b/cpukit/score/macros/rtems/score/tqdata.inl index 5f657c1a94..c0d7ee8e5e 100644 --- a/cpukit/score/macros/rtems/score/tqdata.inl +++ b/cpukit/score/macros/rtems/score/tqdata.inl @@ -35,5 +35,14 @@ #define _Thread_queue_Is_reverse_search( _the_priority ) \ ( (_the_priority) & 0x20 ) +/*PAGE + * + * _Thread_queue_Get_number_waiting + * + */ + +#define _Thread_queue_Get_number_waiting( _the_thread_queue ) \ + ( (_the_thread_queue)->count ) + #endif /* end of include file */ -- cgit v1.2.3