API Reference Manual  1.45.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 #ifdef __cplusplus
15 extern "C" {
16 #endif
17 
18 #include <odp/api/spinlock.h>
19 #include <odp/api/std_types.h>
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.