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 - 5
of
5
) sorted by relevance
/commonlibrary/c_utils/base/src/
H
A
D
rwlock.cpp
22
RWLock
::
RWLock
(bool writeFirst)
in RWLock()
function in OHOS::Utils::RWLock
27
void
RWLock
::LockRead()
in LockRead()
48
void
RWLock
::UnLockRead()
in UnLockRead()
58
void
RWLock
::LockWrite()
in LockWrite()
76
void
RWLock
::UnLockWrite()
in UnLockWrite()
/commonlibrary/c_utils/base/include/
H
A
D
rwlock.h
19
* @brief Provides interfaces of
RWLock
in c_utils.
34
* @brief Implements the <b>
RWLock
</b> class to ensure that read and write
37
* Under
RWLock
, write operations are mutually exclusive,
41
class
RWLock
: NoCopyable {
class
52
* @brief Creates an <b>
RWLock
</b> object.
54
* @param writeFirst Indicates whether the <b>
RWLock
</b> object is write-first.
56
RWLock
() :
RWLock
(true) {}
in RWLock()
function in OHOS::Utils::RWLock
57
explicit
RWLock
(bool writeFirst);
60
* @brief Destroys this <b>
RWLock
</
[all...]
/commonlibrary/c_utils/base/test/benchmarktest/rwlock_benchmark_test/
H
A
D
rwlock_benchmark_test.cpp
53
// This class is designed for test
RWLock
. "buf_" is protected by "rwLock_".
84
Utils::
RWLock
rwLock_;
93
* @tc.desc:
RWLock
here is under write-first mode. If there are some writing operation waiting,
129
* @tc.desc:
RWLock
here is not under write-first mode. So if there are writing and reading operations in queue
160
* @tc.desc: This test case validates the default constructor of
RWLock
. By default, the
RWLock
is in write-first mode.
162
* a default
RWLock
and attempts to perform read operations while write operations are pending.
188
* In this test, a write lock is acquired on an instance of the
RWLock
class using an instance of
200
OHOS::Utils::
RWLock
rwLock_;
in BENCHMARK_F()
203
OHOS::Utils::UniqueWriteGuard<OHOS::Utils::
RWLock
> guar
in BENCHMARK_F()
[all...]
/commonlibrary/c_utils/base/test/fuzztest/refbase_fuzzer/
H
A
D
refbase_fuzzer.cpp
41
TestRefBase(bool* deleted, Utils::
RWLock
& rwLock) : deleted_(deleted), rwLock_(rwLock)
in TestRefBase()
61
Utils::
RWLock
& rwLock_;
84
Utils::
RWLock
g_deletedLock;
85
Utils::
RWLock
g_strongLock;
86
Utils::
RWLock
g_attemptLock;
/commonlibrary/c_utils/base/test/unittest/common/
H
A
D
utils_rwlock_test.cpp
29
// This class is designed for test
RWLock
. "buf" is protected by "rwLock".
58
Utils::
RWLock
rwLock;
67
* @tc.desc:
RWLock
here is under write-first mode. If there are some writing operation waiting,
96
* @tc.desc:
RWLock
here is not under write-first mode. So if there are writing and reading operations in queue
Completed in 3 milliseconds