API Reference Manual  1.47.0
api/abi-default/spinlock_recursive.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_RECURSIVE_H_
12 #define ODP_ABI_SPINLOCK_RECURSIVE_H_
13 
14 #include <odp/api/spinlock.h>
15 #include <odp/api/std_types.h>
16 
17 #ifdef __cplusplus
18 extern "C" {
19 #endif
20 
22 typedef struct odp_spinlock_recursive_s {
24  int owner;
25  uint32_t cnt;
27 
28 #ifdef __cplusplus
29 }
30 #endif
31 
32 #endif
ODP spinlock.
Standard C language types and definitions for ODP.
struct odp_spinlock_recursive_s odp_spinlock_recursive_t
Recursive spinlock.