Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: rust-lang/rust
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: c348b48496428c1ed7d3967e5cda81a6f1278e60
Choose a base ref
...
head repository: rust-lang/rust
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: cf7ff15a0ddfe0713dd794cd39eb3b3b58ba8d27
Choose a head ref
  • 1 commit
  • 10 files changed
  • 1 contributor

Commits on Oct 17, 2024

  1. Abstract the state type for futexes

    In the same way that we expose SmallAtomic and SmallPrimitive to allow
    Windows to use a value other than an AtomicU32 for its futex state, this
    patch switches the primary futex state type from AtomicU32 to
    futex::Atomic.  The futex::Atomic type should be usable as an atomic
    value with underlying primitive type equal to futex::Primitive.
    
    This allows supporting the futex API on systems where the underlying
    kernel futex implementation requires more state than simply an
    AtomicU32.
    
    All in-tree futex implementations simply define {Atomic,Primitive}
    directly as {AtomicU32,u32}.
    paulmenage committed Oct 17, 2024
    Configuration menu
    Copy the full SHA
    cf7ff15 View commit details
    Browse the repository at this point in the history
Loading