API Reference Manual  1.45.0
api/abi-default/barrier.h
Go to the documentation of this file.
1 /* SPDX-License-Identifier: BSD-3-Clause
2  * Copyright (c) 2015-2018 Linaro Limited
3  */
4 
11 #ifndef ODP_ABI_BARRIER_H_
12 #define ODP_ABI_BARRIER_H_
13 
14 #ifdef __cplusplus
15 extern "C" {
16 #endif
17 
18 #include <odp/api/std_types.h>
19 #include <odp/api/atomic.h>
20 
25 struct odp_barrier_s {
26  uint32_t count;
28 };
29 
30 typedef struct odp_barrier_s odp_barrier_t;
31 
32 #ifdef __cplusplus
33 }
34 #endif
35 
36 #endif
ODP atomic operations.
Standard C language types and definitions for ODP.
uint32_t count
Thread count.
odp_atomic_u32_t bar
Barrier counter.