RTEMS
cpukit
score
src
threadentryadaptoridle.c
1
/*
2
* Copyright (c) 2015 embedded brains GmbH. All rights reserved.
3
*
4
* embedded brains GmbH
5
* Dornierstr. 4
6
* 82178 Puchheim
7
* Germany
8
* <rtems@embedded-brains.de>
9
*
10
* The license and distribution terms for this file may be
11
* found in the file LICENSE in this distribution or at
12
* http://www.rtems.org/license/LICENSE.
13
*/
14
15
#ifdef HAVE_CONFIG_H
16
#include "config.h"
17
#endif
18
19
#include <
rtems/score/threadimpl.h
>
20
21
void
_Thread_Entry_adaptor_idle
(
Thread_Control
*executing )
22
{
23
const
Thread_Entry_idle
*idle = &executing->
Start
.
Entry
.
Kinds
.Idle;
24
25
( *idle->entry )( 0 );
26
}
Thread_Entry_idle
Data for idle thread entry.
Definition:
thread.h:106
_Thread_Control::Start
Thread_Start_information Start
Definition:
thread.h:825
Thread_Start_information::Entry
Thread_Entry_information Entry
Definition:
thread.h:180
_Thread_Control
Definition:
thread.h:725
_Thread_Entry_adaptor_idle
void _Thread_Entry_adaptor_idle(Thread_Control *executing)
Calls the start kinds idle entry of the thread.
Definition:
threadentryadaptoridle.c:21
threadimpl.h
Inlined Routines from the Thread Handler.
Thread_Entry_information::Kinds
union Thread_Entry_information::@25 Kinds
Thread entry data used by the adaptor to call the thread entry function with the right parameters...
Generated by
1.8.14