Zephyr API Documentation
2.7.0-rc2
A Scalable Open Source RTOS
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 <kernel.h>
11
12
#ifdef __cplusplus
13
extern
"C"
{
14
#endif
15
16
#define STACK_SIZE (512 + CONFIG_TEST_EXTRA_STACKSIZE)
17
K_THREAD_STACK_EXTERN
(
tstack
);
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_ */
tstack
struct k_stack tstack
k_thread
Definition:
thread.h:201
K_THREAD_STACK_EXTERN
K_THREAD_STACK_EXTERN(tstack)
tstack_size
size_t tstack_size
Definition:
main.c:52
tdata
struct k_thread tdata
Definition:
test_kheap_api.c:13
tests
kernel
threads
thread_apis
src
tests_thread_apis.h
Generated on Sun Oct 9 2022 09:21:57 for Zephyr API Documentation by
1.9.4