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

Hack in acquire-load of task state to fix tests #38557

Merged
merged 1 commit into from
Nov 25, 2020
Merged

Hack in acquire-load of task state to fix tests #38557

merged 1 commit into from
Nov 25, 2020

Conversation

Keno
Copy link
Member

@Keno Keno commented Nov 24, 2020

On x86 loads have implicit acquire semantics, but the same is
not true on other architectures (e.g. aarch64). We've been
observing test failures on aarch64 as a result (#38555).
Currently, we don't really have a good way to modify fields
in an atomic way (pending #37847), so this just achieves
the same thing using llvmcall to try and get the tests passing.

On x86 loads have implicit acquire semantics, but the same is
not true on other architectures (e.g. aarch64). We've been
observing test failures on aarch64 as a result (#38555).
Currently, we don't really have a good way to modify fields
in an atomic way (pending #37847), so this just achieves
the same thing using llvmcall to try and get the tests passing.
Copy link
Sponsor Member

@vtjnash vtjnash left a comment

Choose a reason for hiding this comment

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

I assume we still need much more of this, but seems okay for now

@JeffBezanson JeffBezanson added the multithreading Base.Threads and related functionality label Nov 24, 2020
@Keno Keno merged commit 52883ca into master Nov 25, 2020
@Keno Keno deleted the kf/38555 branch November 25, 2020 00:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
multithreading Base.Threads and related functionality
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants