Skip to content

Use upgradable RwLocks#25

Open
macladson wants to merge 1 commit intosigp:mainfrom
macladson:upgrade_rwlock
Open

Use upgradable RwLocks#25
macladson wants to merge 1 commit intosigp:mainfrom
macladson:upgrade_rwlock

Conversation

@macladson
Copy link
Copy Markdown
Member

Issue Addressed

#3

Proposed Changes

Upgrade the existing read locks to write locks whenever we need to recompute the hash. This allows us to check if another thread has computed the hash in the meantime which can help avoid duplicate work.

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