API Reference Manual
1.49.0
api/spec/barrier.h
Go to the documentation of this file.
1
/* SPDX-License-Identifier: BSD-3-Clause
2
* Copyright (c) 2013-2018 Linaro Limited
3
* Copyright (c) 2025 Nokia
4
*/
5
12
#ifndef ODP_API_SPEC_BARRIER_H_
13
#define ODP_API_SPEC_BARRIER_H_
14
#include <odp/visibility_begin.h>
15
16
#ifdef __cplusplus
17
extern
"C"
{
18
#endif
19
47
void
odp_barrier_init
(
odp_barrier_t
*barr,
int
count);
48
73
void
odp_barrier_wait
(
odp_barrier_t
*barr);
74
79
#ifdef __cplusplus
80
}
81
#endif
82
83
#include <odp/visibility_end.h>
84
#endif
odp_barrier_init
void odp_barrier_init(odp_barrier_t *barr, int count)
Initialize barrier with thread count.
odp_barrier_wait
void odp_barrier_wait(odp_barrier_t *barr)
Synchronize thread execution on barrier.
odp_barrier_s
Definition:
api/abi-default/barrier.h:25
include
odp
api
spec
barrier.h
Generated by
1.9.1