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

initialize NodeBuilder registry by IIFE instead of double lock pattern #6753

Conversation

pelszkow
Copy link
Contributor

@pelszkow pelszkow commented Jul 22, 2021

Details:

  • initialize NodeBuilder registry by IIFE

Tickets:

  • NONE

@pelszkow
Copy link
Contributor Author

@ilyachur, I any reason why we use double lock pattern instead of simple static object initialization?

@ilyachur
Copy link
Contributor

@ilyachur, I any reason why we use double lock pattern instead of simple static object initialization?

No reasons. We didn't refactor this code, thank you for your observations.

@pelszkow pelszkow requested a review from ilyachur July 26, 2021 13:06
@pelszkow pelszkow marked this pull request as ready for review July 26, 2021 13:06
@pelszkow pelszkow requested a review from a team July 26, 2021 13:06
@ilyachur ilyachur merged commit 7bbf377 into openvinotoolkit:master Jul 27, 2021
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