RTEMS
cpukit
score
src
schedulerdefaultstartidle.c
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
#ifdef HAVE_CONFIG_H
10
#include "config.h"
11
#endif
12
13
#include <
rtems/score/schedulerimpl.h
>
14
15
void
_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
}
schedulerimpl.h
Inlined Routines Associated with the Manipulation of the Scheduler.
_Thread_Control
Definition:
thread.h:725
Per_CPU_Control
Per CPU Core Structure.
Definition:
percpu.h:347
_Scheduler_Unblock
static __inline__ void _Scheduler_Unblock(Thread_Control *the_thread)
Unblocks a thread with respect to the scheduler.
Definition:
schedulerimpl.h:332
_Scheduler_Control
Scheduler control.
Definition:
scheduler.h:264
_Scheduler_default_Start_idle
void _Scheduler_default_Start_idle(const Scheduler_Control *scheduler, Thread_Control *the_thread, Per_CPU_Control *cpu)
Starts an idle thread.
Definition:
schedulerdefaultstartidle.c:15
Generated by
1.8.14