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.
This commit is contained in:
Joel Sherrill
2009-07-02 22:04:42 +00:00
parent 2f9092ed3f
commit d81b56bd4f
3 changed files with 57 additions and 46 deletions

View File

@@ -1,3 +1,10 @@
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.
2009-07-01 Joel Sherrill <joel.sherrill@OARcorp.com> 2009-07-01 Joel Sherrill <joel.sherrill@OARcorp.com>
* score/include/rtems/score/tod.h: Correct name of parameter. * score/include/rtems/score/tod.h: Correct name of parameter.

View File

@@ -293,7 +293,8 @@ uint32_t _CORE_message_queue_Flush_support(
CORE_message_queue_Control *the_message_queue CORE_message_queue_Control *the_message_queue
); );
/** #if defined(FUNCTIONALITY_NOT_CURRENTLY_USED_BY_ANY_API)
/**
* @brief Flush Waiting Threads. * @brief Flush Waiting Threads.
* *
* This function flushes the threads which are blocked on * This function flushes the threads which are blocked on
@@ -302,9 +303,10 @@ uint32_t _CORE_message_queue_Flush_support(
* *
* @param[in] the_message_queue points to the message queue to flush * @param[in] the_message_queue points to the message queue to flush
*/ */
void _CORE_message_queue_Flush_waiting_threads( void _CORE_message_queue_Flush_waiting_threads(
CORE_message_queue_Control *the_message_queue CORE_message_queue_Control *the_message_queue
); );
#endif
/** /**
* @brief Broadcast a Message to the Message Queue * @brief Broadcast a Message to the Message Queue

View File

@@ -30,7 +30,8 @@
#include <rtems/score/thread.h> #include <rtems/score/thread.h>
#include <rtems/score/wkspace.h> #include <rtems/score/wkspace.h>
/*PAGE #if defined(FUNCTIONALITY_NOT_CURRENTLY_USED_BY_ANY_API)
/*PAGE
* *
* _CORE_message_queue_Flush_waiting_threads * _CORE_message_queue_Flush_waiting_threads
* *
@@ -44,10 +45,10 @@
* returns - the number of messages flushed from the queue * returns - the number of messages flushed from the queue
*/ */
void _CORE_message_queue_Flush_waiting_threads( void _CORE_message_queue_Flush_waiting_threads(
CORE_message_queue_Control *the_message_queue CORE_message_queue_Control *the_message_queue
) )
{ {
/* XXX this is not supported for global message queues */ /* XXX this is not supported for global message queues */
/* /*
@@ -67,4 +68,5 @@ void _CORE_message_queue_Flush_waiting_threads(
NULL, NULL,
CORE_MESSAGE_QUEUE_STATUS_UNSATISFIED_NOWAIT CORE_MESSAGE_QUEUE_STATUS_UNSATISFIED_NOWAIT
); );
} }
#endif