diff options
Diffstat (limited to 'cpukit/score/include/rtems/score/coremsg.h')
-rw-r--r-- | cpukit/score/include/rtems/score/coremsg.h | 26 |
1 files changed, 14 insertions, 12 deletions
diff --git a/cpukit/score/include/rtems/score/coremsg.h b/cpukit/score/include/rtems/score/coremsg.h index 4ccbf06987..c1e6fe97e2 100644 --- a/cpukit/score/include/rtems/score/coremsg.h +++ b/cpukit/score/include/rtems/score/coremsg.h @@ -293,18 +293,20 @@ uint32_t _CORE_message_queue_Flush_support( CORE_message_queue_Control *the_message_queue ); -/** - * @brief Flush Waiting Threads. - * - * This function flushes the threads which are blocked on - * @a the_message_queue's pending message queue. They are - * unblocked whether blocked sending or receiving. - * - * @param[in] the_message_queue points to the message queue to flush - */ -void _CORE_message_queue_Flush_waiting_threads( - CORE_message_queue_Control *the_message_queue -); +#if defined(FUNCTIONALITY_NOT_CURRENTLY_USED_BY_ANY_API) + /** + * @brief Flush Waiting Threads. + * + * This function flushes the threads which are blocked on + * @a the_message_queue's pending message queue. They are + * unblocked whether blocked sending or receiving. + * + * @param[in] the_message_queue points to the message queue to flush + */ + void _CORE_message_queue_Flush_waiting_threads( + CORE_message_queue_Control *the_message_queue + ); +#endif /** * @brief Broadcast a Message to the Message Queue |