Home
last modified time | relevance | path

Searched refs:RWLock (Results 1 – 25 of 32) sorted by relevance

12

/arkcompiler/ets_runtime/ecmascript/platform/
Dmutex.h59 class RWLock {
61 RWLock();
63 ~RWLock();
78 NO_COPY_SEMANTIC(RWLock);
79 NO_MOVE_SEMANTIC(RWLock);
124 explicit ReadLockHolder(RWLock &lock) : lock_(lock) in ReadLockHolder()
135 RWLock &lock_;
143 explicit WriteLockHolder(RWLock &lock) : lock_(lock) in WriteLockHolder()
154 RWLock &lock_;
/arkcompiler/ets_runtime/ecmascript/platform/common/
Dmutex.cpp82 RWLock::RWLock() : rwlock_() in RWLock() function in panda::ecmascript::RWLock
88 RWLock::~RWLock() in ~RWLock()
94 void RWLock::ReadLock() in ReadLock()
100 void RWLock::WriteLock() in WriteLock()
106 bool RWLock::TryReadLock() in TryReadLock()
118 bool RWLock::TryWriteLock() in TryWriteLock()
130 void RWLock::Unlock() in Unlock()
/arkcompiler/runtime_core/libpandabase/os/
Dmutex.cpp94 RWLock::RWLock() : rwlock_() in RWLock() function in panda::os::memory::RWLock
100 RWLock::~RWLock() in ~RWLock()
106 void RWLock::ReadLock() in ReadLock()
112 void RWLock::WriteLock() in WriteLock()
118 bool RWLock::TryReadLock() in TryReadLock()
130 bool RWLock::TryWriteLock() in TryWriteLock()
142 void RWLock::Unlock() in Unlock()
Dmutex.h47 using RWLock = panda::os::unix::memory::futex::RWLock; variable
102 class CAPABILITY("mutex") RWLock {
104 RWLock();
106 ~RWLock();
121 NO_COPY_SEMANTIC(RWLock);
122 NO_MOVE_SEMANTIC(RWLock);
/arkcompiler/runtime_core/static_core/libpandabase/os/
Dmutex.cpp94 RWLock::RWLock() : rwlock_() in RWLock() function in panda::os::memory::RWLock
100 RWLock::~RWLock() in ~RWLock()
106 void RWLock::ReadLock() in ReadLock()
112 void RWLock::WriteLock() in WriteLock()
118 bool RWLock::TryReadLock() in TryReadLock()
130 bool RWLock::TryWriteLock() in TryWriteLock()
142 void RWLock::Unlock() in Unlock()
Dmutex.h47 using RWLock = ark::os::unix::memory::futex::RWLock; variable
102 class CAPABILITY("mutex") RWLock {
104 PANDA_PUBLIC_API RWLock();
106 PANDA_PUBLIC_API ~RWLock();
121 NO_COPY_SEMANTIC(RWLock);
122 NO_MOVE_SEMANTIC(RWLock);
/arkcompiler/runtime_core/static_core/runtime/
Dlocks.cpp60 os::memory::RWLock::ReadLock(); in ReadLock()
68 os::memory::RWLock::WriteLock(); in WriteLock()
75 bool ret = os::memory::RWLock::TryReadLock(); in TryReadLock()
85 bool ret = os::memory::RWLock::TryWriteLock(); in TryWriteLock()
96 os::memory::RWLock::Unlock(); in Unlock()
Dosr.h68 os::memory::RWLock osrLock_;
Dstring_table.h103 os::memory::RWLock tableLock_; // NOLINT(misc-non-private-member-variables-in-classes)
157 os::memory::RWLock mapsLock_;
/arkcompiler/runtime_core/static_core/platforms/unix/libpandabase/futex/
Dmutex.cpp110 RWLock::~RWLock() in ~RWLock()
132 void RWLock::WriteLock() in WriteLock()
176 void RWLock::HandleReadLockWait(int32_t curState) in HandleReadLockWait()
197 bool RWLock::TryReadLock() in TryReadLock()
216 bool RWLock::TryWriteLock() in TryWriteLock()
245 void RWLock::WriteUnlock() in WriteUnlock()
Dmutex.h136 class SHARED_CAPABILITY("mutex") RWLock {
138 RWLock() = default;
140 PANDA_PUBLIC_API ~RWLock();
259 NO_COPY_SEMANTIC(RWLock);
260 NO_MOVE_SEMANTIC(RWLock);
305 static_assert(sizeof(RWLock) == ALL_STRUCTURES_SIZE);
/arkcompiler/runtime_core/platforms/unix/libpandabase/futex/
Dmutex.h137 class SHARED_CAPABILITY("mutex") RWLock {
139 RWLock() = default;
141 ~RWLock();
260 NO_COPY_SEMANTIC(RWLock);
261 NO_MOVE_SEMANTIC(RWLock);
303 static_assert(sizeof(RWLock) == ALL_STRUCTURES_SIZE);
Dmutex.cpp111 RWLock::~RWLock() in ~RWLock()
133 void RWLock::WriteLock() in WriteLock()
177 void RWLock::HandleReadLockWait(int32_t cur_state) in HandleReadLockWait()
198 bool RWLock::TryReadLock() in TryReadLock()
217 bool RWLock::TryWriteLock() in TryWriteLock()
246 void RWLock::WriteUnlock() in WriteUnlock()
/arkcompiler/runtime_core/libpandabase/tests/
Dmutex_test.cpp31 os::memory::RWLock *rwlock;
103 auto *rwlock = new os::memory::RWLock();
129 auto *rwlock = new os::memory::RWLock();
177 auto *rwlock = new os::memory::RWLock();
/arkcompiler/runtime_core/static_core/runtime/tooling/inspector/
Devent_loop.h52 os::memory::RWLock taskExecution_;
Dinspector.h101 os::memory::RWLock debuggerEventsLock_;
/arkcompiler/runtime_core/static_core/plugins/ets/runtime/
Dets_native_library_provider.h37 mutable os::memory::RWLock lock_;
/arkcompiler/runtime_core/static_core/runtime/include/
Dlocks.h24 class PANDA_PUBLIC_API MutatorLock : public os::memory::RWLock {
/arkcompiler/runtime_core/libpandabase/mem/
Dcode_allocator.h69 os::memory::RWLock code_range_lock_;
/arkcompiler/runtime_core/static_core/libpandabase/mem/
Dcode_allocator.h67 os::memory::RWLock codeRangeLock_;
/arkcompiler/ets_runtime/ecmascript/compiler/aot_file/
Dan_file_data_manager.h79 RWLock lock_ {};
/arkcompiler/runtime_core/static_core/verification/util/
Dsynchronized.h149 mutable panda::os::memory::RWLock rwLock_;
/arkcompiler/runtime_core/static_core/verification/
DTODO.txt7 (and using RWLock, because of ClassLinker::AddFile)
/arkcompiler/ets_runtime/
Dlibark_jsruntime.map87 panda::ecmascript::RWLock::*;
/arkcompiler/ets_runtime/ecmascript/pgo_profiler/
Dpgo_profiler_encoder.h115 RWLock rwLock_;

12