source: rtems/cpukit/score/src/schedulersimpleschedule.c @ eea7c937

4.115
Last change on this file since eea7c937 was e5ca54c9, checked in by Sebastian Huber <sebastian.huber@…>, on 08/07/13 at 19:19:55

score: PR2136: Fix _Thread_Change_priority()

Add call to _Scheduler_Schedule() in missing path after
_Thread_Set_transient() in _Thread_Change_priority(). See also
sptests/spintrcritical19.

Add thread parameter to _Scheduler_Schedule(). This parameter is
currently unused but may be used in future SMP schedulers.

Do heir selection in _Scheduler_Schedule(). Use
_Scheduler_Update_heir() for this in the particular scheduler
implementation.

Add and use _Scheduler_Generic_block().

  • Property mode set to 100644
File size: 551 bytes
Line 
1/**
2 * @file
3 *
4 * @brief Simple Schedule Determine Heir
5 * @ingroup ScoreScheduler
6 */
7
8/*
9 *  COPYRIGHT (c) 2011.
10 *  On-Line Applications Research Corporation (OAR).
11 *
12 *  The license and distribution terms for this file may be
13 *  found in found in the file LICENSE in this distribution or at
14 *  http://www.rtems.com/license/LICENSE.
15 */
16
17#if HAVE_CONFIG_H
18#include "config.h"
19#endif
20
21#include <rtems/score/schedulersimpleimpl.h>
22
23void _Scheduler_simple_Schedule( Thread_Control *thread )
24{
25  _Scheduler_simple_Schedule_body( thread, false );
26}
Note: See TracBrowser for help on using the repository browser.