API Reference Manual
1.46.0
api/abi-default/spinlock.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_SPINLOCK_H_
12
#define ODP_ABI_SPINLOCK_H_
13
14
#ifdef __cplusplus
15
extern
"C"
{
16
#endif
17
19
typedef
struct
odp_spinlock_s
{
20
char
lock
;
21
}
odp_spinlock_t
;
22
23
#ifdef __cplusplus
24
}
25
#endif
26
27
#endif
odp_spinlock_t
struct odp_spinlock_s odp_spinlock_t
ODP spinlock.
odp_spinlock_s
Definition:
api/abi-default/spinlock.h:19
odp_spinlock_s::lock
char lock
lock flag, should match odp_atomic_flag_t
Definition:
api/abi-default/spinlock.h:20
include
odp
api
abi-default
spinlock.h
Generated by
1.9.1