diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2009-07-02 22:04:42 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2009-07-02 22:04:42 +0000 |
commit | d81b56bd4f231d350565e833fadbdec0300469a8 (patch) | |
tree | cc6f3646dc462aeaba2bf139dcc2c69cf6e3d44f /cpukit/score/include/rtems/score/coremsg.h | |
parent | 2009-07-02 Joel Sherrill <joel.sherrill@OARcorp.com> (diff) | |
download | rtems-d81b56bd4f231d350565e833fadbdec0300469a8.tar.bz2 |
2009-07-02 Joel Sherrill <joel.sherrill@OARcorp.com>
* score/include/rtems/score/coremsg.h, score/src/coremsgflushwait.c:
Mark _CORE_message_queue_Flush_waiting_threads with
FUNCTIONALITY_NOT_CURRENTLY_USED_BY_ANY_API since there is no way to
reach it via an API.
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 |