Searched refs:ACQUIRE (Results 1 – 7 of 7) sorted by relevance
55 size_t beforeWrite() EXCLUDES(mLock) ACQUIRE(mLock);60 Optional<size_t> beforeTryWrite() EXCLUDES(mLock) ACQUIRE(mLock);73 size_t beforeRead() EXCLUDES(mLock) ACQUIRE(mLock);78 Optional<size_t> beforeTryRead() EXCLUDES(mLock) ACQUIRE(mLock);83 Optional<size_t> beforeTimedRead(uint64_t wallTimeUs) EXCLUDES(mLock) ACQUIRE(mLock);
49 void lock() ACQUIRE() { in lock()140 AutoLock(StaticLock& lock) ACQUIRE(mLock) : mLock(lock) { mLock.lock(); } in AutoLock()146 void lock() ACQUIRE(mLock) { in lock()261 void beginWrite() ACQUIRE(mWriteLock) { in beginWrite()
43 #ifndef ACQUIRE44 #define ACQUIRE(...) THREAD_ANNOTATION_ATTRIBUTE__(__acquire_capability__(__VA_ARGS__)) macro
70 void lock() ACQUIRE() { assert(isThreadValid()); } in lock()
48 #define ACQUIRE(...) \ macro112 ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} in ScopedLockAssertion()
10 int lock() ACQUIRE();
33 void Lock() ACQUIRE(mutex_) { in Lock()