Home
last modified time | relevance | path

Searched refs:SharedLock (Results 1 – 2 of 2) sorted by relevance

/system/core/logd/
Drwlock.h44 class SCOPED_CAPABILITY SharedLock {
46 explicit SharedLock(RwLock& lock) ACQUIRE_SHARED(lock) : lock_(lock) { lock_.lock_shared(); } in SharedLock() function
47 ~SharedLock() RELEASE() { lock_.unlock(); } in RELEASE()
52 DISALLOW_IMPLICIT_CONSTRUCTORS(SharedLock);
DSimpleLogBuffer.cpp138 auto shared_lock = SharedLock{lock_}; in FlushTo()
251 auto lock = SharedLock{lock_}; in GetSize()