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

fix #35499, inconsistent atomic ops on int vs. float #35509

Merged
merged 1 commit into from
Apr 18, 2020
Merged

Conversation

JeffBezanson
Copy link
Sponsor Member

fix #35499
Both semantics are used (fetch_add vs. add_fetch), but we should make all of these consistent with LLVM's atomicrmw.

@JeffBezanson JeffBezanson added multithreading Base.Threads and related functionality bugfix This change fixes an existing bug labels Apr 17, 2020
@JeffBezanson JeffBezanson merged commit 48cd02a into master Apr 18, 2020
@JeffBezanson JeffBezanson deleted the jb/fix35499 branch April 18, 2020 20:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bugfix This change fixes an existing bug multithreading Base.Threads and related functionality
Projects
None yet
Development

Successfully merging this pull request may close these issues.

atomic_min doesn't return old value for floats
2 participants