API Reference Manual  1.45.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;
22 
23 #ifdef __cplusplus
24 }
25 #endif
26 
27 #endif
struct odp_spinlock_s odp_spinlock_t
ODP spinlock.
char lock
lock flag, should match odp_atomic_flag_t