L4Re Operating System Framework
Interface and Usage Documentation
Loading...
Searching...
No Matches
thread.h
Go to the documentation of this file.
1
8/*
9 * (c) 2003-2009 Author(s)
10 * economic rights: Technische Universität Dresden (Germany)
11 * License: see LICENSE.spdx (in this directory or the directories above)
12 */
13
14#ifndef __L4_THREAD_H
15#define __L4_THREAD_H
16
17#include <l4/sys/types.h>
18#include <l4/sys/scheduler.h>
19
21
44L4_CV long
45l4util_create_thread(l4_cap_idx_t id, l4_utcb_t *thread_utcb,
46 l4_cap_idx_t factory,
48 l4_cap_idx_t task,
50
52
53#ifndef L4UTIL_THREAD_FUNC
70#define __L4UTIL_THREAD_FUNC(name) void L4_NORETURN name(void)
71#define L4UTIL_THREAD_FUNC(name) __L4UTIL_THREAD_FUNC(name)
72#define __L4UTIL_THREAD_STATIC_FUNC(name) static L4_NORETURN void name(void)
73#define L4UTIL_THREAD_STATIC_FUNC(name) __L4UTIL_THREAD_STATIC_FUNC(name)
74#endif
75
76#endif /* __L4_THREAD_H */
unsigned long l4_umword_t
Unsigned machine word.
Definition l4int.h:40
unsigned long l4_cap_idx_t
Capability selector type.
Definition types.h:335
struct l4_utcb_t l4_utcb_t
Opaque type for the UTCB.
Definition utcb.h:56
#define __END_DECLS
End section with C types and functions.
Definition compiler.h:167
#define L4_CV
Define calling convention.
Definition linkage.h:33
#define L4_NOTHROW
Mark a function declaration and definition as never throwing an exception.
Definition compiler.h:159
#define __BEGIN_DECLS
Start section with C types and functions.
Definition compiler.h:164
Common L4 ABI Data Types.
Scheduler parameter set.
Definition scheduler.h:174
Scheduler object functions.