summaryrefslogtreecommitdiffstats
path: root/cpukit/score/inline/rtems/score/tqdata.inl
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1995-09-26 19:27:15 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1995-09-26 19:27:15 +0000
commit5e9b32b439627068a0292370fe595220dbfc95a0 (patch)
tree3740b62de3aaa10140867de33adad9a1fcc15b26 /cpukit/score/inline/rtems/score/tqdata.inl
parentfixed Id strings (diff)
downloadrtems-5e9b32b439627068a0292370fe595220dbfc95a0.tar.bz2
posix support initially added
Diffstat (limited to '')
-rw-r--r--cpukit/score/inline/rtems/score/tqdata.inl13
1 files changed, 13 insertions, 0 deletions
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 */