Skip to content

Conversation

@isergeyam
Copy link
Contributor

In the thread-safe singleton C++ example, fixed data race in the GetInstance method, caused by possible simultaneous read and write to pinstance_.

Refactoring Guru Ticket ID: 1699

@neochief neochief merged commit 26a047a into RefactoringGuru:master Sep 8, 2020
@neochief
Copy link
Contributor

neochief commented Sep 8, 2020

Thanks a lot!

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.

2 participants