API Reference Manual  1.47.0
api/abi-default/rwlock_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_RWLOCK_RECURSIVE_H_
12 #define ODP_ABI_RWLOCK_RECURSIVE_H_
13 
14 #include <odp/api/rwlock.h>
15 #include <odp/api/std_types.h>
16 #include <odp/api/thread.h>
17 
18 #ifdef __cplusplus
19 extern "C" {
20 #endif
21 
23 typedef struct odp_rwlock_recursive_s {
25  int wr_owner;
26  uint32_t wr_cnt;
29 
30 #ifdef __cplusplus
31 }
32 #endif
33 
34 #endif
ODP RW Locks.
Standard C language types and definitions for ODP.
ODP thread API.
struct odp_rwlock_recursive_s odp_rwlock_recursive_t
Recursive rwlock.
#define ODP_THREAD_COUNT_MAX
Maximum number of threads supported in build time.
uint8_t rd_cnt[ODP_THREAD_COUNT_MAX]
read recursion count
uint32_t wr_cnt
write recursion count