diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2014-07-08 14:25:55 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2014-07-08 16:30:48 +0200 |
commit | 08d9760daf502d893bc02f24651c7b68287c263c (patch) | |
tree | 4c2b37721837fd3e10d252a2d8d81067850ec060 /cpukit/score/include/rtems/score/schedulerpriorityimpl.h | |
parent | score: Simplify SMP processor allocation (diff) | |
download | rtems-08d9760daf502d893bc02f24651c7b68287c263c.tar.bz2 |
score: Rename *_Node_get() to *_Thread_get_node()
This emphasizes that the scheduler node of a thread is returned and this
is not a function working with scheduler nodes like the other *_Node_*()
functions.
Diffstat (limited to 'cpukit/score/include/rtems/score/schedulerpriorityimpl.h')
-rw-r--r-- | cpukit/score/include/rtems/score/schedulerpriorityimpl.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cpukit/score/include/rtems/score/schedulerpriorityimpl.h b/cpukit/score/include/rtems/score/schedulerpriorityimpl.h index 063d4362fe..a1aa779721 100644 --- a/cpukit/score/include/rtems/score/schedulerpriorityimpl.h +++ b/cpukit/score/include/rtems/score/schedulerpriorityimpl.h @@ -41,11 +41,11 @@ RTEMS_INLINE_ROUTINE Scheduler_priority_Context * return (Scheduler_priority_Context *) _Scheduler_Get_context( scheduler ); } -RTEMS_INLINE_ROUTINE Scheduler_priority_Node *_Scheduler_priority_Node_get( +RTEMS_INLINE_ROUTINE Scheduler_priority_Node *_Scheduler_priority_Thread_get_node( Thread_Control *the_thread ) { - return (Scheduler_priority_Node *) _Scheduler_Node_get( the_thread ); + return (Scheduler_priority_Node *) _Scheduler_Thread_get_node( the_thread ); } /** @@ -136,7 +136,7 @@ RTEMS_INLINE_ROUTINE void _Scheduler_priority_Extract_body( { Scheduler_priority_Context *context = _Scheduler_priority_Get_context( scheduler ); - Scheduler_priority_Node *node = _Scheduler_priority_Node_get( the_thread ); + Scheduler_priority_Node *node = _Scheduler_priority_Thread_get_node( the_thread ); _Scheduler_priority_Ready_queue_extract( &the_thread->Object.Node, |