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

Use atomic functions to ensure single initialization of tracking catalog #4592

Merged
merged 1 commit into from
Jun 27, 2024

Conversation

JohnMcPMS
Copy link
Member

@JohnMcPMS JohnMcPMS commented Jun 27, 2024

Fixes #4587

Change

Hold the tracking catalog object in a shared_ptr and use the atomic functions to ensure that only one thread can initialize it.

Microsoft Reviewers: Open in CodeFlow

@JohnMcPMS JohnMcPMS requested a review from a team as a code owner June 27, 2024 20:39
@JohnMcPMS JohnMcPMS merged commit a7f7c21 into microsoft:master Jun 27, 2024
8 checks passed
@JohnMcPMS JohnMcPMS deleted the thread-safety branch June 27, 2024 22:34
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.

Error installing multiple packages in parallel using COM API
3 participants