Home
last modified time | relevance | path

Searched refs:ACQUIRE (Results 1 – 3 of 3) sorted by relevance

/system/core/libutils/include/utils/
DMutex.h55 #define ACQUIRE(...) THREAD_ANNOTATION_ATTRIBUTE__(acquire_capability(__VA_ARGS__)) macro
107 status_t lock() ACQUIRE();
132 inline explicit Autolock(Mutex& mutex) ACQUIRE(mutex) : mLock(mutex) { mLock.lock(); } in Autolock()
133 inline explicit Autolock(Mutex* mutex) ACQUIRE(mutex) : mLock(*mutex) { mLock.lock(); } in Autolock()
/system/libbase/include/android-base/
Dthread_annotations.h56 #define ACQUIRE(...) \ macro
139 ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} in ScopedLockAssertion()
/system/core/logd/
Drwlock.h33 void lock() ACQUIRE() { pthread_rwlock_wrlock(&rwlock_); } in lock()