summaryrefslogtreecommitdiffstats
path: root/cpukit/score/include/rtems/score/threadqimpl.h
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2015-04-23 13:01:05 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2015-05-19 12:00:42 +0200
commit22788bc2baeb8e13bb0d6b6d05782a6ccfd4cb67 (patch)
treebbb9169de2cf7282bb44cf6374a71b41aec8137c /cpukit/score/include/rtems/score/threadqimpl.h
parentscore: Add _SMP_Assert() (diff)
downloadrtems-22788bc2baeb8e13bb0d6b6d05782a6ccfd4cb67.tar.bz2
score: _Thread_queue_Extract()
Remove thread queue parameter from _Thread_queue_Extract() since the current thread queue is stored in the thread control block.
Diffstat (limited to 'cpukit/score/include/rtems/score/threadqimpl.h')
-rw-r--r--cpukit/score/include/rtems/score/threadqimpl.h16
1 files changed, 5 insertions, 11 deletions
diff --git a/cpukit/score/include/rtems/score/threadqimpl.h b/cpukit/score/include/rtems/score/threadqimpl.h
index 6eac3643f4..6fc38cfa5b 100644
--- a/cpukit/score/include/rtems/score/threadqimpl.h
+++ b/cpukit/score/include/rtems/score/threadqimpl.h
@@ -78,25 +78,20 @@ void _Thread_queue_Enqueue(
/**
* @brief Extracts thread from thread queue.
*
- * This routine removes @a the_thread from @a the_thread_queue
+ * This routine removes @a the_thread its thread queue
* and cancels any timeouts associated with this blocking.
*
- * @param[in] the_thread_queue is the pointer to the ThreadQ header
* @param[in] the_thread is the pointer to a thread control block that
* is to be removed
*/
-void _Thread_queue_Extract(
- Thread_queue_Control *the_thread_queue,
- Thread_Control *the_thread
-);
+void _Thread_queue_Extract( Thread_Control *the_thread );
/**
* @brief Extracts thread from thread queue (w/return code).
*
- * This routine removes @a the_thread from @a the_thread_queue
+ * This routine removes @a the_thread its thread queue
* and cancels any timeouts associated with this blocking.
*
- * @param[in] the_thread_queue is the pointer to the ThreadQ header
* @param[in] the_thread is the pointer to a thread control block that
* is to be removed
* @param[in] return_code specifies the status to be returned.
@@ -105,9 +100,8 @@ void _Thread_queue_Extract(
* + single case
*/
void _Thread_queue_Extract_with_return_code(
- Thread_queue_Control *the_thread_queue,
- Thread_Control *the_thread,
- uint32_t return_code
+ Thread_Control *the_thread,
+ uint32_t return_code
);
/**