API Reference Manual
1.47.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
*/
4
11
#ifndef ODP_API_SPEC_BARRIER_H_
12
#define ODP_API_SPEC_BARRIER_H_
13
#include <odp/visibility_begin.h>
14
15
#ifdef __cplusplus
16
extern
"C"
{
17
#endif
18
42
void
odp_barrier_init
(
odp_barrier_t
*barr,
int
count);
43
53
void
odp_barrier_wait
(
odp_barrier_t
*barr);
54
59
#ifdef __cplusplus
60
}
61
#endif
62
63
#include <odp/visibility_end.h>
64
#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