Skip to content

Add AtomicStampedRef #62

Description

@dpdani

Like java.util.concurrent.atomic.AtomicStampedReference.
It's a generalization of AtomicMarkableRef that supports integer values instead of booleans.

Need to understand the overflow behavior here. It's possible to implement this with bit-stealing, but it might just be too tight (the maximum allowed int value be too small). It's also undesirable to use 16-byte compare-exchange for this.

Activity

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

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions