Home
last modified time | relevance | path

Searched refs:rwlock (Results 1 - 4 of 4) sorted by relevance

/arkcompiler/runtime_core/libpandabase/tests/
H A Dmutex_test.cpp31 os::memory::RWLock *rwlock; member
44 arg->rwlock->WriteLock(); in TestThread1()
47 arg->rwlock->Unlock(); in TestThread1()
55 arg->rwlock->ReadLock(); in TestThread2()
57 arg->rwlock->Unlock(); in TestThread2()
65 bool res = arg->rwlock->TryReadLock(); in TestThread3()
68 arg->rwlock->Unlock(); in TestThread3()
71 res = arg->rwlock->TryWriteLock(); in TestThread3()
74 arg->rwlock->Unlock(); in TestThread3()
95 arg->rwlock in TestThread5()
103 auto *rwlock = new os::memory::RWLock(); HWTEST_F() local
129 auto *rwlock = new os::memory::RWLock(); HWTEST_F() local
177 auto *rwlock = new os::memory::RWLock(); HWTEST_F() local
[all...]
/arkcompiler/runtime_core/static_core/runtime/include/
H A Druntime_notification.h174 os::memory::WriteLockHolder rwlock(gcEventLock_); in AddListener()
210 os::memory::WriteLockHolder rwlock(gcEventLock_); in RemoveListener()
263 os::memory::ReadLockHolder rwlock(gcEventLock_); in GarbageCollectorStartEvent()
275 os::memory::ReadLockHolder rwlock(gcEventLock_); in GarbageCollectorFinishEvent()
/arkcompiler/runtime_core/libpandabase/mem/
H A Dcode_allocator.cpp86 os::memory::WriteLockHolder rwlock(code_range_lock_); in CodeRangeUpdate()
/arkcompiler/runtime_core/static_core/libpandabase/mem/
H A Dcode_allocator.cpp84 os::memory::WriteLockHolder rwlock(codeRangeLock_); in CodeRangeUpdate()

Completed in 3 milliseconds