Line data Source code
1 0 : /* Copyright (c) 1997-2015, Wind River Systems, Inc.
2 : * Copyright (c) 2021 Intel Corporation
3 : * Copyright (c) 2023 Nordic Semiconductor ASA
4 : *
5 : * SPDX-License-Identifier: Apache-2.0
6 : */
7 :
8 : #ifndef ZEPHYR_INCLUDE_SYS_ATOMIC_TYPES_H_
9 : #define ZEPHYR_INCLUDE_SYS_ATOMIC_TYPES_H_
10 :
11 : #ifdef __cplusplus
12 : extern "C" {
13 : #endif
14 :
15 0 : typedef long atomic_t;
16 0 : typedef atomic_t atomic_val_t;
17 0 : typedef void *atomic_ptr_t;
18 0 : typedef atomic_ptr_t atomic_ptr_val_t;
19 :
20 : #ifdef __cplusplus
21 : }
22 : #endif
23 :
24 : #endif /* ZEPHYR_INCLUDE_SYS_ATOMIC_TYPES_H_ */
|