Zephyr API Documentation 4.0.0-rc3
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
thread.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2017 Intel Corporation
3 * Copyright (c) 2017 Oticon A/S
4 *
5 * SPDX-License-Identifier: Apache-2.0
6 */
7
20#ifndef ZEPHYR_INCLUDE_ARCH_POSIX_THREAD_H_
21#define ZEPHYR_INCLUDE_ARCH_POSIX_THREAD_H_
22
23#ifndef _ASMLANGUAGE
24#include <zephyr/types.h>
25
26#ifdef __cplusplus
27extern "C" {
28#endif
29
30struct _callee_saved {
31 /* IRQ status before irq_lock() and call to z_swap() */
32 uint32_t key;
33
34 /* Return value of z_swap() */
35 uint32_t retval;
36
37 /* Thread status pointer */
38 void *thread_status;
39};
40
41
42struct _thread_arch {
43 /* nothing for now */
44 int dummy;
45};
46
47typedef struct _thread_arch _thread_arch_t;
48
49#ifdef __cplusplus
50}
51#endif
52
53#endif /* _ASMLANGUAGE */
54
55#endif /* ZEPHYR_INCLUDE_ARCH_POSIX_THREAD_H_ */
__UINT32_TYPE__ uint32_t
Definition stdint.h:90