From 22788bc2baeb8e13bb0d6b6d05782a6ccfd4cb67 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Thu, 23 Apr 2015 13:01:05 +0200 Subject: score: _Thread_queue_Extract() Remove thread queue parameter from _Thread_queue_Extract() since the current thread queue is stored in the thread control block. --- cpukit/score/include/rtems/score/threadqimpl.h | 16 +++++----------- 1 file changed, 5 insertions(+), 11 deletions(-) (limited to 'cpukit/score/include/rtems/score/threadqimpl.h') 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 ); /** -- cgit v1.2.3