Closed ghostant-1017 closed 3 months ago
I think I recall these, but counter-intuitively these need to be
write
, since the collection in question is anLruCache
, no?Edit: indeed, this is the signature of
get
.
Thank you! You are right.
That being said, I don't know why that lock was changed to an RwLock
, as only write guards are used, meaning Mutex
would be a better fit.
I think I recall these, but counter-intuitively these need to be
write
, since the collection in question is anLruCache
, no?Edit: indeed, this is the signature of
get
.