Skip to content

Add remaining ordering strengths to atomic types #7422

Closed

Description

@Aatch

We currently only have sequentially consistent (the strongest) and the acquire/release pair for ordering constraints. The intrinsics to support these have now been added, so the types should be extended to implement them.

Activity

  1. alchemy commented on Oct 21, 2013

    @alchemy

    The atomic types defined in libstd/unstable/atomics.rs already have methods parametrized by memory ordering, that in turn call the appropriate intrinsic. Shouldn't this issue be closed?

  2. Aatch commented on Oct 21, 2013

    @Aatch
    ContributorAuthor

    @alchemy yes, well spotted

  3. added 2 commits that reference this issue on Jul 15, 2021
  4. added a commit that references this issue on Aug 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    E-easy

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions