Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Remove UniqueLocks and UpgradeToUnique #220

bpmckinnon started this conversation in General
Discussion options

I was looking at the new ReadWriteLock change and I'm wondering if UniqueLocks and UpgradeToUnique should be removed to enforce a single mechanism for upgrading locks. Is there any plan to remove it?

You must be logged in to vote

Replies: 2 comments

Comment options

Yes, I think I should remove UpgradeToUnique and update the one location where it is used, thanks for the reminder. I'll have to think some more about UniqueLocks.

You must be logged in to vote
0 replies
Comment options

UniqueLocks is still used in merge (see this). What do you think of this PR #221 for removing the unused Upgrade stuff?

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet

AltStyle によって変換されたページ (->オリジナル) /