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

regression in thread-safety correctness of detecting compilation finished #53432

Open
vtjnash opened this issue Feb 22, 2024 · 0 comments
Open
Labels
compiler:inference Type inference domain:multithreading Base.Threads and related functionality kind:regression Regression in behavior compared to a previous version

Comments

@vtjnash
Copy link
Sponsor Member

vtjnash commented Feb 22, 2024

The ci_has_abi uses monotonic loads, so #53219 introduced a data-race here. I think it needs an :acquire on one or move of these to fix that, so that it must observe this being set. And also needs to switch the order of the checks, so that it correctly pairs with the release store.

Originally posted by @vtjnash in #53219 (comment)

Posting as an issue since the PR is already merged, so this doesn't get lost

@vtjnash vtjnash changed the title regression in thread-safety correctness regression in thread-safety correctness of detecting compilation finished Feb 22, 2024
@vtjnash vtjnash added kind:regression Regression in behavior compared to a previous version domain:multithreading Base.Threads and related functionality compiler:inference Type inference labels Feb 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
compiler:inference Type inference domain:multithreading Base.Threads and related functionality kind:regression Regression in behavior compared to a previous version
Projects
None yet
Development

No branches or pull requests

1 participant