| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2024-10-17 | Abstract the state type for futexes | Paul Menage | -3/+3 | |
| 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}. | ||||
| 2024-07-26 | Fix doc nits | John Arundel | -1/+1 | |
| Many tiny changes to stdlib doc comments to make them consistent (for example "Returns foo", rather than "Return foo", per RFC1574), adding missing periods, paragraph breaks, backticks for monospace style, and other minor nits. https://github.com/rust-lang/rfcs/blob/master/text/1574-more-api-documentation-conventions.md#appendix-a-full-conventions-text | ||||
| 2024-07-16 | Use futex.rs for Windows thread parking | Chris Denton | -7/+10 | |
| 2024-05-02 | std: move thread parking to `sys::sync` | joboet | -0/+97 | |
