summary refs log tree commit diff
path: root/library/std/src/sys/sync/mutex
AgeCommit message (Collapse)AuthorLines
2024-07-29Reformat `use` declarations.Nicholas Nethercote-13/+7
The previous commit updated `rustfmt.toml` appropriately. This commit is the outcome of running `x fmt --all` with the new formatting options.
2024-07-26Fix doc nitsJohn Arundel-2/+2
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-19kmc-solid: forbid(unsafe_op_in_unsafe_fn)Jubilee Young-0/+1
2024-07-16Use futex.rs for Windows thread parkingChris Denton-16/+5
2024-07-15Remove PSRWLOCKChris Denton-1/+1
2024-06-20Add blank lines after module-level `//!` comments.Nicholas Nethercote-0/+1
Most modules have such a blank line, but some don't. Inserting the blank line makes it clearer that the `//!` comments are describing the entire module, rather than the `use` declaration(s) that immediately follows.
2024-03-19SeqCst->{Release,Acquire} in xous mutex.Mara Bos-4/+7
No need for SeqCst. Release+Acquire is the right memory ordering for a mutex.
2024-03-12std: move `Once` implementations to `sys`joboet-0/+782