source: rtems/cpukit/score/src/schedulerdefaultstartidle.c @ fce900b5

5
Last change on this file since fce900b5 was 92635cb, checked in by Sebastian Huber <sebastian.huber@…>, on 06/03/14 at 14:27:53

score: Remove scheduler parameter from most ops

Remove the scheduler parameter from most high level scheduler operations
like

  • _Scheduler_Block(),
  • _Scheduler_Unblock(),
  • _Scheduler_Change_priority(),
  • _Scheduler_Update_priority(),
  • _Scheduler_Release_job(), and
  • _Scheduler_Yield().

This simplifies the scheduler operations usage.

  • Property mode set to 100644
File size: 523 bytes
Line 
1/*
2 * Copyright (c) 2013-2014 embedded brains GmbH
3 *
4 * The license and distribution terms for this file may be
5 * found in the file LICENSE in this distribution or at
6 * http://www.rtems.org/license/LICENSE.
7 */
8
9#if HAVE_CONFIG_H
10  #include "config.h"
11#endif
12
13#include <rtems/score/schedulerimpl.h>
14
15void _Scheduler_default_Start_idle(
16  const Scheduler_Control *scheduler,
17  Thread_Control          *the_thread,
18  Per_CPU_Control         *cpu
19)
20{
21  (void) scheduler;
22  (void) cpu;
23  _Scheduler_Unblock( the_thread );
24}
Note: See TracBrowser for help on using the repository browser.