/* Copyright (c) 1997-2015, Wind River Systems, Inc. | |
* Copyright (c) 2021 Intel Corporation | |
* Copyright (c) 2023 Nordic Semiconductor ASA | |
* | |
* SPDX-License-Identifier: Apache-2.0 | |
*/ | |
#ifndef ZEPHYR_INCLUDE_SYS_ATOMIC_TYPES_H_ | |
#define ZEPHYR_INCLUDE_SYS_ATOMIC_TYPES_H_ | |
#ifdef __cplusplus | |
extern "C" { | |
#endif | |
typedef long atomic_t; | |
typedef atomic_t atomic_val_t; | |
typedef void *atomic_ptr_t; | |
typedef atomic_ptr_t atomic_ptr_val_t; | |
#ifdef __cplusplus | |
} | |
#endif | |
#endif /* ZEPHYR_INCLUDE_SYS_ATOMIC_TYPES_H_ */ |