Changeset 26f4cdd in rtems


Ignore:
Timestamp:
Nov 24, 2014, 7:35:45 AM (5 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
4.11, master
Children:
55db0e5
Parents:
cceb19f4
Message:

_Scheduler_FIXME_thread_priority_queues_are_broken

Delete this variable since it is no longer necessary due to the thread
priority queue implementation change to use RB trees.

Location:
cpukit
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • cpukit/sapi/include/confdefs.h

    rcceb19f4 r26f4cdd  
    967967    );
    968968  #endif
    969 
    970   #if defined(CONFIGURE_SCHEDULER_EDF)
    971     const bool _Scheduler_FIXME_thread_priority_queues_are_broken = true;
    972   #else
    973     const bool _Scheduler_FIXME_thread_priority_queues_are_broken = false;
    974   #endif
    975969#endif
    976970
  • cpukit/score/include/rtems/score/scheduler.h

    rcceb19f4 r26f4cdd  
    553553#endif
    554554
    555 /**
    556  * @brief Indicates if thread priority queues are broken with the configured
    557  * scheduler or not.
    558  *
    559  * See also PR2174: Memory corruption with EDF scheduler and thread priority
    560  * queues.
    561  */
    562 extern const bool _Scheduler_FIXME_thread_priority_queues_are_broken;
    563 
    564555/**@}*/
    565556
  • cpukit/score/src/threadq.c

    rcceb19f4 r26f4cdd  
    5252)
    5353{
    54   if ( _Scheduler_FIXME_thread_priority_queues_are_broken ) {
    55     the_discipline = THREAD_QUEUE_DISCIPLINE_FIFO;
    56   }
    57 
    5854  the_thread_queue->state          = state;
    5955  the_thread_queue->discipline     = the_discipline;
Note: See TracChangeset for help on using the changeset viewer.