summaryrefslogtreecommitdiffstats
path: root/cpukit/score/include/rtems/score/threadqimpl.h
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2015-04-22 13:57:18 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2015-04-22 13:58:32 +0200
commitb0686b473d8c07e5bbdc1932d7d9b71bfccdf92e (patch)
tree0c09c09140e21de14d183bdc4146a02560e92dbc /cpukit/score/include/rtems/score/threadqimpl.h
parentscore: Delete bogus THREAD_QUEUE_WAIT_FOREVER (diff)
downloadrtems-b0686b473d8c07e5bbdc1932d7d9b71bfccdf92e.tar.bz2
score: Delete _CORE_RWLock_Timeout()
This function was identical to _Thread_queue_Timeout(). This makes _Thread_queue_Enqueue_with_handler() obsolete.
Diffstat (limited to 'cpukit/score/include/rtems/score/threadqimpl.h')
-rw-r--r--cpukit/score/include/rtems/score/threadqimpl.h22
1 files changed, 4 insertions, 18 deletions
diff --git a/cpukit/score/include/rtems/score/threadqimpl.h b/cpukit/score/include/rtems/score/threadqimpl.h
index 2fa797467b..57bdf054b9 100644
--- a/cpukit/score/include/rtems/score/threadqimpl.h
+++ b/cpukit/score/include/rtems/score/threadqimpl.h
@@ -64,19 +64,6 @@ Thread_Control *_Thread_queue_Dequeue(
);
/**
- * @brief Enqueues the currently executing thread on the_thread_queue.
- *
- * This routine enqueues the currently executing thread on
- * the_thread_queue with an optional timeout.
- */
-#define _Thread_queue_Enqueue( _the_thread_queue, _the_thread, _timeout ) \
- _Thread_queue_Enqueue_with_handler( \
- _the_thread_queue, \
- _the_thread, \
- _timeout, \
- _Thread_queue_Timeout )
-
-/**
* @brief Blocks a thread and places it on a thread.
*
* This routine blocks a thread, places it on a thread, and optionally
@@ -89,11 +76,10 @@ Thread_Control *_Thread_queue_Dequeue(
* - INTERRUPT LATENCY:
* + single case
*/
-void _Thread_queue_Enqueue_with_handler(
- Thread_queue_Control *the_thread_queue,
- Thread_Control *the_thread,
- Watchdog_Interval timeout,
- Thread_queue_Timeout_callout handler
+void _Thread_queue_Enqueue(
+ Thread_queue_Control *the_thread_queue,
+ Thread_Control *the_thread,
+ Watchdog_Interval timeout
);
/**