Searched refs:ACQUIRE (Results 1 – 2 of 2) sorted by relevance
55 #define ACQUIRE(...) THREAD_ANNOTATION_ATTRIBUTE__(acquire_capability(__VA_ARGS__)) macro107 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()
56 #define ACQUIRE(...) \ macro139 ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} in ScopedLockAssertion()