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

Update IsAPIContractVxAvailable to be multi thread safe. #6665

Merged

Conversation

StephenLPeters
Copy link
Contributor

Previously a thread could return an uninitialized value for isAPIContractVxAvailable if another thread was executing at the same time and flipped the initialized flag to true before intitializing the variable.

… thread could return an uninitialized value for isAPIContractVxAvailable if another thread was executing at the same time and flipped the initialized flag to true before intitializing the variable.
@ghost ghost added the needs-triage Issue needs to be triaged by the area owners label Feb 1, 2022
@StephenLPeters
Copy link
Contributor Author

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

Copy link
Contributor

@codendone codendone left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:shipit:

@StephenLPeters StephenLPeters merged commit e15d2df into main Feb 1, 2022
@StephenLPeters StephenLPeters deleted the user/stpete/IsAPIContractVxAvailableMultiThread branch February 1, 2022 23:14
@StephenLPeters StephenLPeters added area-NugetPackage Issue with the nuget package developer experience (e.g. build error, missing files) area-Resources team-Controls Issue for the Controls team and removed needs-triage Issue needs to be triaged by the area owners labels Mar 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-NugetPackage Issue with the nuget package developer experience (e.g. build error, missing files) area-Resources team-Controls Issue for the Controls team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants