API Reference Manual  1.45.0
api/spec/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_API_SPEC_RWLOCK_RECURSIVE_H_
12 #define ODP_API_SPEC_RWLOCK_RECURSIVE_H_
13 #include <odp/visibility_begin.h>
14 
15 #ifdef __cplusplus
16 extern "C" {
17 #endif
18 
54 
65 
75 
82 
93 
103 
110 
115 #ifdef __cplusplus
116 }
117 #endif
118 
119 #include <odp/visibility_end.h>
120 #endif
void odp_rwlock_recursive_read_unlock(odp_rwlock_recursive_t *lock)
Release recursive rwlock after reading.
void odp_rwlock_recursive_init(odp_rwlock_recursive_t *lock)
Initialize recursive rwlock.
void odp_rwlock_recursive_write_unlock(odp_rwlock_recursive_t *lock)
Release recursive rwlock after writing.
void odp_rwlock_recursive_read_lock(odp_rwlock_recursive_t *lock)
Acquire recursive rwlock for reading.
int odp_rwlock_recursive_read_trylock(odp_rwlock_recursive_t *lock)
Try to acquire recursive rwlock for reading.
int odp_rwlock_recursive_write_trylock(odp_rwlock_recursive_t *lock)
Try to acquire recursive rwlock for writing.
void odp_rwlock_recursive_write_lock(odp_rwlock_recursive_t *lock)
Acquire recursive rwlock for writing.