Skip to content

Adding threadlocks around the read/write of the LRUCache - #1

Open
benosteen wants to merge 4 commits into
masterfrom
threadlocking
Open

Adding threadlocks around the read/write of the LRUCache#1
benosteen wants to merge 4 commits into
masterfrom
threadlocking

Conversation

@benosteen

Copy link
Copy Markdown
Collaborator

Without it, more than one thread may try to pop the oldest key from the cache (causing an error), or other concurrency-based issues.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant