summaryrefslogtreecommitdiffstats
path: root/cpukit/score/include/rtems/score/threadqimpl.h
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2017-10-19 14:17:31 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2017-10-24 09:37:28 +0200
commit1666ffe535b5e2ca801dafa13437fc2bd041cd3a (patch)
tree3eb0d9752c3bce5e7b40559a41fc635e8a8a876b /cpukit/score/include/rtems/score/threadqimpl.h
parentscore: Add _Thread_Continue() (diff)
downloadrtems-1666ffe535b5e2ca801dafa13437fc2bd041cd3a.tar.bz2
score: Rename function threadq support function
Rename _Thread_queue_Context_set_do_nothing_enqueue_callout() into _Thread_queue_Context_set_enqueue_do_nothing_extra(). More _Thread_queue_Context_set_enqueue_*() functions will follow. Update #3117. Update #3182.
Diffstat (limited to 'cpukit/score/include/rtems/score/threadqimpl.h')
-rw-r--r--cpukit/score/include/rtems/score/threadqimpl.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/cpukit/score/include/rtems/score/threadqimpl.h b/cpukit/score/include/rtems/score/threadqimpl.h
index 60067076c7..f74db96129 100644
--- a/cpukit/score/include/rtems/score/threadqimpl.h
+++ b/cpukit/score/include/rtems/score/threadqimpl.h
@@ -62,7 +62,7 @@ typedef struct {
Thread_queue_Queue Queue;
} Thread_queue_Syslock_queue;
-void _Thread_queue_Enqueue_do_nothing(
+void _Thread_queue_Enqueue_do_nothing_extra(
Thread_queue_Queue *queue,
Thread_Control *the_thread,
Thread_queue_Context *queue_context
@@ -142,11 +142,11 @@ _Thread_queue_Context_set_enqueue_callout(
* @see _Thread_queue_Enqueue().
*/
RTEMS_INLINE_ROUTINE void
-_Thread_queue_Context_set_do_nothing_enqueue_callout(
+_Thread_queue_Context_set_enqueue_do_nothing_extra(
Thread_queue_Context *queue_context
)
{
- queue_context->enqueue_callout = _Thread_queue_Enqueue_do_nothing;
+ queue_context->enqueue_callout = _Thread_queue_Enqueue_do_nothing_extra;
}
/**
@@ -615,7 +615,7 @@ Thread_Control *_Thread_queue_Do_dequeue(
* - _Thread_queue_Context_set_thread_state(),
*
* - _Thread_queue_Context_set_enqueue_callout() or
- * _Thread_queue_Context_set_do_nothing_enqueue_callout(),
+ * _Thread_queue_Context_set_enqueue_do_nothing_extra(),
*
* - _Thread_queue_Context_set_no_timeout() or
* _Thread_queue_Context_set_relative_timeout() or
@@ -651,7 +651,7 @@ Thread_Control *_Thread_queue_Do_dequeue(
* &queue_context,
* STATES_WAITING_FOR_MUTEX
* );
- * _Thread_queue_Context_set_do_nothing_enqueue_callout( &queue_context );
+ * _Thread_queue_Context_set_enqueue_do_nothing_extra( &queue_context );
* _Thread_queue_Context_set_no_timeout( &queue_context );
* _Thread_queue_Context_set_deadlock_callout(
* queue_context,