Ignore:
Timestamp:
Jul 8, 2014, 12:25:55 PM (6 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
4.11, master
Children:
ac532f3
Parents:
19e4176
git-author:
Sebastian Huber <sebastian.huber@…> (07/08/14 12:25:55)
git-committer:
Sebastian Huber <sebastian.huber@…> (07/08/14 14:30:48)
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpukit/score/include/rtems/score/scheduleredfimpl.h

    r19e4176 r08d9760  
    3838}
    3939
    40 RTEMS_INLINE_ROUTINE Scheduler_EDF_Node *_Scheduler_EDF_Node_get(
     40RTEMS_INLINE_ROUTINE Scheduler_EDF_Node *_Scheduler_EDF_Thread_get_node(
    4141  Thread_Control *the_thread
    4242)
    4343{
    44   return (Scheduler_EDF_Node *) _Scheduler_Node_get( the_thread );
     44  return (Scheduler_EDF_Node *) _Scheduler_Thread_get_node( the_thread );
    4545}
    4646
     
    5252  Scheduler_EDF_Context *context =
    5353    _Scheduler_EDF_Get_context( scheduler );
    54   Scheduler_EDF_Node *node = _Scheduler_EDF_Node_get( the_thread );
     54  Scheduler_EDF_Node *node = _Scheduler_EDF_Thread_get_node( the_thread );
    5555
    5656  _RBTree_Insert( &context->Ready, &node->Node );
     
    6565  Scheduler_EDF_Context *context =
    6666    _Scheduler_EDF_Get_context( scheduler );
    67   Scheduler_EDF_Node *node = _Scheduler_EDF_Node_get( the_thread );
     67  Scheduler_EDF_Node *node = _Scheduler_EDF_Thread_get_node( the_thread );
    6868
    6969  _RBTree_Extract( &context->Ready, &node->Node );
Note: See TracChangeset for help on using the changeset viewer.