Skip to content

[Predicate] Use a global atomic counter for VariableID #434

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

Merged
merged 2 commits into from
Feb 22, 2024

Conversation

Azoy
Copy link
Contributor

@Azoy Azoy commented Feb 22, 2024

Instead of a global lock, we can use a global atomic counter instead for incrementing PredicateExpression.VariableID. Let's use it!

@Azoy Azoy requested a review from jmschonfeld February 22, 2024 18:46
@Azoy
Copy link
Contributor Author

Azoy commented Feb 22, 2024

@swift-ci please test

@Azoy
Copy link
Contributor Author

Azoy commented Feb 22, 2024

@swift-ci please test

@Azoy Azoy merged commit db46428 into swiftlang:main Feb 22, 2024
@Azoy Azoy deleted the adopt-atomic-variableid branch February 22, 2024 19: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.

2 participants