Zephyr API Documentation 4.4.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
atomic_types.h
Go to the documentation of this file.
1/* 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
12
13#ifndef ZEPHYR_INCLUDE_SYS_ATOMIC_TYPES_H_
14#define ZEPHYR_INCLUDE_SYS_ATOMIC_TYPES_H_
15
16#ifdef __cplusplus
17extern "C" {
18#endif
19
23
31typedef long atomic_t;
32
39
46typedef void *atomic_ptr_t;
47
54
56
57#ifdef __cplusplus
58}
59#endif
60
61#endif /* ZEPHYR_INCLUDE_SYS_ATOMIC_TYPES_H_ */
long atomic_t
Atomic integer variable.
Definition atomic_types.h:31
atomic_t atomic_val_t
Value type for atomic integer variables.
Definition atomic_types.h:38
atomic_ptr_t atomic_ptr_val_t
Value type for atomic pointer variables.
Definition atomic_types.h:53
void * atomic_ptr_t
Atomic pointer variable.
Definition atomic_types.h:46