Changeset 73a193f in rtems


Ignore:
Timestamp:
Oct 21, 2016, 12:15:30 PM (3 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
master
Children:
97f7dac
Parents:
3a27248
git-author:
Sebastian Huber <sebastian.huber@…> (10/21/16 12:15:30)
git-committer:
Sebastian Huber <sebastian.huber@…> (11/02/16 09:05:43)
Message:

score: Delete unused functions

Delete _Scheduler_Thread_change_resource_root() and
_Scheduler_Thread_change_help_state().

Update #2556.

Location:
cpukit/score
Files:
1 deleted
2 edited

Legend:

Unmodified
Added
Removed
  • cpukit/score/Makefile.am

    r3a27248 r73a193f  
    154154libscore_a_SOURCES += src/percpustatewait.c
    155155libscore_a_SOURCES += src/profilingsmplock.c
    156 libscore_a_SOURCES += src/schedulerchangeroot.c
    157156libscore_a_SOURCES += src/schedulerpriorityaffinitysmp.c
    158157libscore_a_SOURCES += src/schedulerprioritysmp.c
  • cpukit/score/include/rtems/score/schedulerimpl.h

    r3a27248 r73a193f  
    10681068  the_thread->Scheduler.state = new_state;
    10691069}
    1070 
    1071 /**
    1072  * @brief Changes the scheduler help state of a thread.
    1073  *
    1074  * @param[in] the_thread The thread.
    1075  * @param[in] new_help_state The new help state.
    1076  *
    1077  * @return The previous help state.
    1078  */
    1079 RTEMS_INLINE_ROUTINE Scheduler_Help_state _Scheduler_Thread_change_help_state(
    1080   Thread_Control       *the_thread,
    1081   Scheduler_Help_state  new_help_state
    1082 )
    1083 {
    1084   Scheduler_Node *node = _Thread_Scheduler_get_own_node( the_thread );
    1085   Scheduler_Help_state previous_help_state = node->help_state;
    1086 
    1087   node->help_state = new_help_state;
    1088 
    1089   return previous_help_state;
    1090 }
    1091 
    1092 /**
    1093  * @brief Changes the resource tree root of a thread.
    1094  *
    1095  * For each node of the resource sub-tree specified by the top thread the
    1096  * scheduler asks for help.  So the root thread gains access to all scheduler
    1097  * nodes corresponding to the resource sub-tree.  In case a thread previously
    1098  * granted help is displaced by this operation, then the scheduler asks for
    1099  * help using its remaining resource tree.
    1100  *
    1101  * The run-time of this function depends on the size of the resource sub-tree
    1102  * and other resource trees in case threads in need for help are produced
    1103  * during this operation.
    1104  *
    1105  * @param[in] top The thread specifying the resource sub-tree top.
    1106  * @param[in] root The thread specifying the new resource sub-tree root.
    1107  */
    1108 void _Scheduler_Thread_change_resource_root(
    1109   Thread_Control *top,
    1110   Thread_Control *root
    1111 );
    11121070
    11131071RTEMS_INLINE_ROUTINE void _Scheduler_Set_idle_thread(
Note: See TracChangeset for help on using the changeset viewer.