We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 4b1d48a + 240a4fb commit e639ae0Copy full SHA for e639ae0
src/leveldb/util/cache.cc
@@ -171,8 +171,8 @@ class LRUCache {
171
private:
172
void LRU_Remove(LRUHandle* e);
173
void LRU_Append(LRUHandle* list, LRUHandle* e);
174
- void Ref(LRUHandle* e);
175
- void Unref(LRUHandle* e);
+ void Ref(LRUHandle* e) EXCLUSIVE_LOCKS_REQUIRED(mutex_);
+ void Unref(LRUHandle* e) EXCLUSIVE_LOCKS_REQUIRED(mutex_);
176
bool FinishErase(LRUHandle* e) EXCLUSIVE_LOCKS_REQUIRED(mutex_);
177
178
// Initialized before use.
0 commit comments