Zephyr Project API
3.7.0
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
tests_thread_apis.h
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2019 Jan Van Winkel <jan.van_winkel@dxplore.eu>
3
*
4
* SPDX-License-Identifier: Apache-2.0
5
*/
6
7
#ifndef ZEPHYR_TESTS_KERNEL_THREADS_THREAD_APIS_SRC_TEST_THREAD_APIS_H_
8
#define ZEPHYR_TESTS_KERNEL_THREADS_THREAD_APIS_SRC_TEST_THREAD_APIS_H_
9
10
#include <
zephyr/kernel.h
>
11
12
#ifdef __cplusplus
13
extern
"C"
{
14
#endif
15
16
#define STACK_SIZE (512 + CONFIG_TEST_EXTRA_STACK_SIZE)
17
K_THREAD_STACK_DECLARE
(
tstack
,
STACK_SIZE
);
18
extern
size_t
tstack_size
;
19
extern
struct
k_thread
tdata
;
20
21
#ifdef __cplusplus
22
}
23
#endif
24
25
#endif
/* ZEPHYR_TESTS_KERNEL_THREADS_THREAD_APIS_SRC_TEST_THREAD_APIS_H_ */
K_THREAD_STACK_DECLARE
#define K_THREAD_STACK_DECLARE(sym, size)
Declare a reference to a thread stack.
Definition
thread_stack.h:405
kernel.h
Public kernel APIs.
tstack
struct k_stack tstack
k_thread
Thread Structure.
Definition
thread.h:259
tstack_size
size_t tstack_size
Definition
main.c:32
STACK_SIZE
#define STACK_SIZE
Definition
tests_thread_apis.h:16
tdata
struct k_thread tdata
Definition
test_kheap_api.c:13
tests
kernel
threads
thread_apis
src
tests_thread_apis.h
Generated on Sun Sep 15 2024 17:01:30 for Zephyr Project API by
1.9.8