Skip to content
This repository was archived by the owner on May 31, 2025. It is now read-only.

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

Merged
mikepurvis merged 1 commit intoros:melodic-develfrom
git-afsantos:lunar-devel
Apr 24, 2018
Merged

Replaced Double-Checked Locking pattern with static variable. Fixes #1364#1365
mikepurvis merged 1 commit intoros:melodic-develfrom
git-afsantos:lunar-devel

Conversation

@git-afsantos
Copy link
Copy Markdown
Contributor

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

@mikepurvis
Copy link
Copy Markdown
Member

Looks great, thank you.

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

More Uses of Unsafe Double-Checked Locking Pattern

2 participants