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
13extern "C" {
14#endif
15
16#define STACK_SIZE (512 + CONFIG_TEST_EXTRA_STACKSIZE)
18extern size_t tstack_size;
19extern 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_ */
struct k_stack tstack
Definition: thread.h:201
K_THREAD_STACK_EXTERN(tstack)
size_t tstack_size
Definition: main.c:52
struct k_thread tdata
Definition: test_kheap_api.c:13