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
13extern "C" {
14#endif
15
16#define STACK_SIZE (512 + CONFIG_TEST_EXTRA_STACK_SIZE)
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_ */
#define K_THREAD_STACK_DECLARE(sym, size)
Declare a reference to a thread stack.
Definition thread_stack.h:405
Public kernel APIs.
struct k_stack tstack
Thread Structure.
Definition thread.h:259
size_t tstack_size
Definition main.c:32
#define STACK_SIZE
Definition tests_thread_apis.h:16
struct k_thread tdata
Definition test_kheap_api.c:13