API Reference Manual
1.46.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
;
27
odp_atomic_u32_t
bar
;
28
};
29
30
typedef
struct
odp_barrier_s
odp_barrier_t
;
31
32
#ifdef __cplusplus
33
}
34
#endif
35
36
#endif
atomic.h
ODP atomic operations.
std_types.h
Standard C language types and definitions for ODP.
odp_atomic_u32_s
Definition:
api/abi-default/atomic.h:26
odp_barrier_s
Definition:
api/abi-default/barrier.h:25
odp_barrier_s::count
uint32_t count
Thread count.
Definition:
api/abi-default/barrier.h:26
odp_barrier_s::bar
odp_atomic_u32_t bar
Barrier counter.
Definition:
api/abi-default/barrier.h:27
include
odp
api
abi-default
barrier.h
Generated by
1.9.1