Ignore:
Timestamp:
Nov 19, 2013, 3:09:17 PM (7 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
4.11, 5, master
Children:
833dd90
Parents:
14876018
git-author:
Sebastian Huber <sebastian.huber@…> (11/19/13 15:09:17)
git-committer:
Sebastian Huber <sebastian.huber@…> (11/21/13 11:58:45)
Message:

scheduler/EDF: Use unprotected insert and extract

Interrupts are disabled by the caller _Thread_Change_priority() or
_Thread_Set_transient() or directly in the scheduler operation. Thus
there is no need to use protected variants.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpukit/score/src/scheduleredfyield.c

    r14876018 reea7c937  
    3636   * with the same priority in case there are such ones.
    3737   */
    38   _RBTree_Extract( &_Scheduler_EDF_Ready_queue, thread_node );
    39   _RBTree_Insert( &_Scheduler_EDF_Ready_queue, thread_node );
     38  _RBTree_Extract_unprotected( &_Scheduler_EDF_Ready_queue, thread_node );
     39  _RBTree_Insert_unprotected( &_Scheduler_EDF_Ready_queue, thread_node );
    4040
    4141  _ISR_Flash( level );
Note: See TracChangeset for help on using the changeset viewer.