Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replaced Double-Checked Locking pattern with static variable. Fixes #1364 #1365

Merged
merged 1 commit into from
Apr 24, 2018

Conversation

git-afsantos
Copy link
Contributor

Copy-pasted the solution for #770. If approved, this fixes #1364.

@mikepurvis
Copy link
Member

Looks great, thank you.

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

Successfully merging this pull request may close these issues.

More Uses of Unsafe Double-Checked Locking Pattern
2 participants