mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-12-05 15:15:44 +00:00
removed Thread_queue_Get_number_waiting
This commit is contained in:
@@ -52,22 +52,6 @@ RTEMS_INLINE_ROUTINE boolean _Thread_queue_Is_reverse_search (
|
|||||||
return ( the_priority & TASK_QUEUE_DATA_REVERSE_SEARCH_MASK );
|
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
|
/*PAGE
|
||||||
*
|
*
|
||||||
* _Thread_queue_Enter_critical_section
|
* _Thread_queue_Enter_critical_section
|
||||||
|
|||||||
@@ -52,22 +52,6 @@ RTEMS_INLINE_ROUTINE boolean _Thread_queue_Is_reverse_search (
|
|||||||
return ( the_priority & TASK_QUEUE_DATA_REVERSE_SEARCH_MASK );
|
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
|
/*PAGE
|
||||||
*
|
*
|
||||||
* _Thread_queue_Enter_critical_section
|
* _Thread_queue_Enter_critical_section
|
||||||
|
|||||||
@@ -35,15 +35,6 @@
|
|||||||
#define _Thread_queue_Is_reverse_search( _the_priority ) \
|
#define _Thread_queue_Is_reverse_search( _the_priority ) \
|
||||||
( (_the_priority) & TASK_QUEUE_DATA_REVERSE_SEARCH_MASK )
|
( (_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
|
/*PAGE
|
||||||
*
|
*
|
||||||
* _Thread_queue_Enter_critical_section
|
* _Thread_queue_Enter_critical_section
|
||||||
|
|||||||
@@ -35,15 +35,6 @@
|
|||||||
#define _Thread_queue_Is_reverse_search( _the_priority ) \
|
#define _Thread_queue_Is_reverse_search( _the_priority ) \
|
||||||
( (_the_priority) & TASK_QUEUE_DATA_REVERSE_SEARCH_MASK )
|
( (_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
|
/*PAGE
|
||||||
*
|
*
|
||||||
* _Thread_queue_Enter_critical_section
|
* _Thread_queue_Enter_critical_section
|
||||||
|
|||||||
@@ -52,22 +52,6 @@ RTEMS_INLINE_ROUTINE boolean _Thread_queue_Is_reverse_search (
|
|||||||
return ( the_priority & TASK_QUEUE_DATA_REVERSE_SEARCH_MASK );
|
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
|
/*PAGE
|
||||||
*
|
*
|
||||||
* _Thread_queue_Enter_critical_section
|
* _Thread_queue_Enter_critical_section
|
||||||
|
|||||||
@@ -35,15 +35,6 @@
|
|||||||
#define _Thread_queue_Is_reverse_search( _the_priority ) \
|
#define _Thread_queue_Is_reverse_search( _the_priority ) \
|
||||||
( (_the_priority) & TASK_QUEUE_DATA_REVERSE_SEARCH_MASK )
|
( (_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
|
/*PAGE
|
||||||
*
|
*
|
||||||
* _Thread_queue_Enter_critical_section
|
* _Thread_queue_Enter_critical_section
|
||||||
|
|||||||
Reference in New Issue
Block a user