Home
Sort by
last modified time
|
relevance
|
path
Repository(s)
applications
arkcompiler
base
build
commonlibrary
developtools
device
docs
domains
drivers
foundation
ide
interface
kernel
napi_generator
productdefine
test
third_party
vendor
select all
invert selection
clear
Full Search
Search through all text tokens(words,strings,identifiers,numbers) in index.
Definition
Only finds symbol definitions(where e.g a variable(function,...) is defined).
Symbol
Only finds symbol(e.g. methods classes,function,variables).
File Path
Path of the source file(use "/").If you want just exact path,enclose it in "".Source files end with: .jar/.bz2/.a/.h/.java...
History
History log comments.
Type
Any
Bzip(2)
C
Clojure
C#
C++
ELF
Erlang
Image file
Fortran
Golang
GZIP
Haskell
Jar
Java
Java class
JavaScript
Lisp
Lua
Pascal
Perl
PHP
Plain Text
PL/SQL
Python
Rust
Scala
Shell script
SQL
Tar
Tcl
Troff
UUEncoded
Visual Basic
XML
Zip
Type of analyzer used to filter file types include with selected(e.g. just C sources).
Help
Searched
refs:rwlock
(Results
1 - 2
of
2
) sorted by relevance
/foundation/resourceschedule/ffrt/interfaces/inner_api/c/
H
A
D
shared_mutex.h
29
* @brief Declares the
rwlock
interfaces in C.
40
* @brief Initializes a
rwlock
.
42
* @param
rwlock
Indicates a pointer to the
rwlock
.
43
* @param attr Indicates a pointer to the
rwlock
attribute.
44
* @return Returns <b>ffrt_thrd_success</b> if the
rwlock
is initialized;
48
FFRT_C_API int ffrt_rwlock_init(ffrt_rwlock_t*
rwlock
, const ffrt_rwlockattr_t* attr);
53
* @param
rwlock
Indicates a pointer to the
rwlock
.
54
* @return Returns <b>ffrt_thrd_success</b> if the
rwlock
i
[all...]
/foundation/resourceschedule/ffrt/src/sync/
H
A
D
shared_mutex.cpp
182
int ffrt_rwlock_init(ffrt_rwlock_t*
rwlock
, const ffrt_rwlockattr_t* attr)
in ffrt_rwlock_init()
argument
184
if (!
rwlock
) {
in ffrt_rwlock_init()
185
FFRT_LOGE("
rwlock
should not be empty");
in ffrt_rwlock_init()
189
FFRT_LOGE("only support normal
rwlock
");
in ffrt_rwlock_init()
195
new (
rwlock
)ffrt::SharedMutexPrivate();
in ffrt_rwlock_init()
200
int ffrt_rwlock_wrlock(ffrt_rwlock_t*
rwlock
)
in ffrt_rwlock_wrlock()
argument
202
if (!
rwlock
) {
in ffrt_rwlock_wrlock()
203
FFRT_LOGE("
rwlock
should not be empty");
in ffrt_rwlock_wrlock()
206
auto p = reinterpret_cast<ffrt::SharedMutexPrivate*>(
rwlock
);
in ffrt_rwlock_wrlock()
212
int ffrt_rwlock_trywrlock(ffrt_rwlock_t*
rwlock
)
in ffrt_rwlock_trywrlock()
argument
223
ffrt_
rwlock
_rdlock(ffrt_
rwlock
_t*
rwlock
)
ffrt_rwlock_rdlock()
argument
235
ffrt_
rwlock
_tryrdlock(ffrt_
rwlock
_t*
rwlock
)
ffrt_rwlock_tryrdlock()
argument
246
ffrt_
rwlock
_unlock(ffrt_
rwlock
_t*
rwlock
)
ffrt_rwlock_unlock()
argument
258
ffrt_
rwlock
_destroy(ffrt_
rwlock
_t*
rwlock
)
ffrt_rwlock_destroy()
argument
[all...]
Completed in 1 milliseconds