Searched refs:ACQUIRE (Results 1 – 3 of 3) 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()
33 void lock() ACQUIRE() { pthread_rwlock_wrlock(&rwlock_); } in lock()