diff options
Diffstat (limited to 'c/src/exec/score/inline/rtems/score/tqdata.inl')
-rw-r--r-- | c/src/exec/score/inline/rtems/score/tqdata.inl | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/c/src/exec/score/inline/rtems/score/tqdata.inl b/c/src/exec/score/inline/rtems/score/tqdata.inl index 3168d058f5..89b0241a3e 100644 --- a/c/src/exec/score/inline/rtems/score/tqdata.inl +++ b/c/src/exec/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 */ |