Changeset 0f41cc3 in rtems


Ignore:
Timestamp:
May 14, 2014, 9:25:07 AM (5 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
4.11, master
Children:
2369b10
Parents:
c21c5912
git-author:
Sebastian Huber <sebastian.huber@…> (05/14/14 09:25:07)
git-committer:
Sebastian Huber <sebastian.huber@…> (05/14/14 14:49:27)
Message:

score: _Scheduler_priority_Ready_queue_requeue()

Delete unused function _Scheduler_priority_Ready_queue_requeue().

File:
1 edited

Legend:

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

    rc21c5912 r0f41cc3  
    173173
    174174/**
    175  * @brief Requeues a thread on the specified ready queue.
    176  *
    177  * This routine is invoked when a thread changes priority and should be
    178  * moved to a different position on the ready queue.
    179  *
    180  * @param[in] the_thread The thread to requeue.
    181  * @param[in] ready_queue The ready queue.
    182  */
    183 RTEMS_INLINE_ROUTINE void _Scheduler_priority_Ready_queue_requeue(
    184   Thread_Control                 *the_thread,
    185   Scheduler_priority_Ready_queue *ready_queue
    186 )
    187 {
    188   Chain_Control *ready_chain = ready_queue->ready_chain;
    189 
    190   if ( !_Chain_Has_only_one_node( ready_chain ) ) {
    191     _Chain_Extract_unprotected( &the_thread->Object.Node );
    192     _Chain_Append_unprotected( ready_chain, &the_thread->Object.Node );
    193   }
    194 }
    195 
    196 /**
    197175 * @brief Scheduling decision logic.
    198176 *
Note: See TracChangeset for help on using the changeset viewer.