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

Deprecate compareExchange in favor of compareAndSwap #13934

Merged
merged 4 commits into from
Sep 2, 2019

Conversation

ronawho
Copy link
Contributor

@ronawho ronawho commented Aug 30, 2019

This deprecates compareExchangeWeak(), compareExchangeStrong(), and
compareExchange() in favor of compareAndSwap(). This is being done
so that next release we can repurpose the compareExchange*() interface
to match the C/C++ interface like the rest of our atomic API.

Part of #13836

@ronawho ronawho requested a review from mppf August 30, 2019 15:51
@ronawho ronawho merged commit 8cb2258 into chapel-lang:master Sep 2, 2019
@ronawho ronawho deleted the deprecate-compare_exchange branch September 2, 2019 06:18
ronawho added a commit that referenced this pull request Sep 5, 2019
Convert AtomicObjects to use compareAndSwap instead of compareExchange

[reviewed by @LouisJenkinsCS]

Update AtomicObjects to match the new Chapel API (changed in #13934)
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