source: rtems/cpukit/score/src/schedulerdefaultupdate.c @ 99fc1d1d

5
Last change on this file since 99fc1d1d was 4d1f500, checked in by Sebastian Huber <sebastian.huber@…>, on 06/03/14 at 13:58:30

score: Rename _Scheduler_Update()

Rename _Scheduler_Update() to _Scheduler_Update_priority(). Add
parameter for the new thread priority to avoid direct usage of
Thread_Control::current_priority in the scheduler operation.

  • Property mode set to 100644
File size: 653 bytes
Line 
1/**
2 * @file
3 *
4 * @brief Scheduler Default Update Operation
5 *
6 * @ingroup ScoreScheduler
7 */
8
9/*
10 *  COPYRIGHT (c) 2011.
11 *  On-Line Applications Research Corporation (OAR).
12 *
13 *  The license and distribution terms for this file may be
14 *  found in the file LICENSE in this distribution or at
15 *  http://www.rtems.org/license/LICENSE.
16 */
17
18#if HAVE_CONFIG_H
19#include "config.h"
20#endif
21
22#include <rtems/score/scheduler.h>
23
24void _Scheduler_default_Update_priority(
25  const Scheduler_Control *scheduler,
26  Thread_Control          *the_thread,
27  Priority_Control         new_priority
28)
29{
30  (void) scheduler;
31  (void) the_thread;
32  (void) new_priority;
33}
Note: See TracBrowser for help on using the repository browser.