summaryrefslogtreecommitdiffstats
path: root/cpukit/score/include
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2015-04-30 13:18:45 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2015-05-19 12:00:46 +0200
commitc654b52517c2d255aa98eed347edeba60dc854d0 (patch)
tree466a7c9a564b9242b46bed632e0ba6953b140471 /cpukit/score/include
parentscore: Delete Thread_queue_Control::timeout_status (diff)
downloadrtems-c654b52517c2d255aa98eed347edeba60dc854d0.tar.bz2
score: Delete _CORE_message_queue_Flush_support()
Check the number of pending messages in _CORE_message_queue_Flush() to avoid race conditions.
Diffstat (limited to 'cpukit/score/include')
-rw-r--r--cpukit/score/include/rtems/score/coremsgimpl.h17
1 files changed, 0 insertions, 17 deletions
diff --git a/cpukit/score/include/rtems/score/coremsgimpl.h b/cpukit/score/include/rtems/score/coremsgimpl.h
index cedf2760e8..1f6796905b 100644
--- a/cpukit/score/include/rtems/score/coremsgimpl.h
+++ b/cpukit/score/include/rtems/score/coremsgimpl.h
@@ -179,23 +179,6 @@ uint32_t _CORE_message_queue_Flush(
CORE_message_queue_Control *the_message_queue
);
-/**
- * @brief Flush all outstanding messages.
- *
- * This routine flushes all outstanding messages and returns
- * them to the inactive message chain.
- *
- * @param[in] the_message_queue points to the message queue to flush
- *
- * @retval This method returns the number of pending messages flushed.
- *
- * - INTERRUPT LATENCY:
- * + single case
- */
-uint32_t _CORE_message_queue_Flush_support(
- CORE_message_queue_Control *the_message_queue
-);
-
#if defined(FUNCTIONALITY_NOT_CURRENTLY_USED_BY_ANY_API)
/**
* @brief Flush waiting threads.