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

Add a weakCompareExchange variant that only takes a single ordering #76

Merged
merged 2 commits into from
Mar 25, 2023

Conversation

lorentey
Copy link
Member

Resolves #75

Checklist

  • I've read the Contribution Guidelines
  • My contributions are licensed under the Swift license.
  • I've followed the coding style of the rest of the project.
  • I've added tests covering all new code paths my change adds to the project (if appropriate).
  • I've verified that my change does not break any existing tests.
  • I've updated the documentation if necessary.

@lorentey lorentey requested a review from glessard March 24, 2023 23:31
@lorentey
Copy link
Member Author

@swift-ci test

Copy link
Contributor

@glessard glessard left a comment

Choose a reason for hiding this comment

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

I agree these are useful to have. 🚢

@lorentey lorentey merged commit 4ff09f2 into apple:main Mar 25, 2023
@lorentey lorentey added this to the 1.1.0 milestone Mar 25, 2023
@lorentey lorentey deleted the weakCompareExchange-shortcut branch March 25, 2023 00:12
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.

Add a weakCompareExchange taking only one ordering
2 participants