about summary refs log tree commit diff
path: root/library/core/src/sync
AgeCommit message (Expand)AuthorLines
2024-09-28atomics: allow atomic and non-atomic reads to raceRalf Jung-24/+38
2024-09-28stabilize const_cell_into_innerRalf Jung-3/+3
2024-09-01compiler_fence documentation: emphasize synchronization, not reorderingRalf Jung-29/+29
2024-07-30Auto merge of #128083 - Mark-Simulacrum:bump-bootstrap, r=albertlarsan68bors-1/+1
2024-07-29Reformat `use` declarations.Nicholas Nethercote-4/+1
2024-07-28Update CURRENT_RUSTC_VERSIONMark Rousskov-1/+1
2024-07-26Fix doc nitsJohn Arundel-8/+8
2024-07-01Stabilize atomic_bool_fetch_notdimi-2/+1
2024-06-28Remove unnecessary SeqCst in `impl fmt::Pointer for AtomicPtr`Sky-1/+1
2024-06-24Rollup merge of #126213 - zachs18:atomicbool-u8-i8-from-ptr-alignment, r=Nils...Matthias Krüger-17/+33
2024-06-18Replace `move||` with `move ||` in `compiler/` and `library/`Vonr-1/+1
2024-06-09Update docs for AtomicU8/I8.Zachary S-15/+31
2024-06-09Update safety docs for AtomicBool::from_ptr.Zachary S-2/+2
2024-05-13Add `size_of`, `size_of_val`, `align_of`, and `align_of_val` to the preludeJosh Triplett-3/+0
2024-05-01Step bootstrap cfgsMark Rousskov-3/+0
2024-05-01Replace version placeholders for 1.79Mark Rousskov-3/+3
2024-04-24Add `cfg_attr(bootstrap)` to doc testsGary Guo-0/+3
2024-04-24Stabilise `inline_const`Gary Guo-3/+3
2024-04-05Stabilize const Atomic*::into_innerDavid Tolnay-6/+6
2024-03-29stabilize ptr.is_aligned, move ptr.is_aligned_to to a new feature gateAria Beingessner-9/+3
2024-03-27Rollup merge of #121943 - joshlf:patch-11, r=scottmcmMatthias Krüger-3/+3
2024-03-07Rust is a proper name: rust → RustRalf Jung-1/+1
2024-03-04Fix comment in Atomic{Ptr,Bool}::as_ptr.Janggun Lee-2/+2
2024-03-03Update library/core/src/sync/atomic.rsJoshua Liebow-Feeser-1/+1
2024-03-03Update library/core/src/sync/atomic.rsJoshua Liebow-Feeser-1/+1
2024-03-03Use "size and alignment" rather than layoutJoshua Liebow-Feeser-2/+2
2024-03-03Document AtomicPtr bit validityJoshua Liebow-Feeser-1/+1
2024-03-03Clarify bit validity for AtomicBoolJoshua Liebow-Feeser-1/+1
2024-03-03Clarify atomic bit validityJoshua Liebow-Feeser-1/+1
2024-02-21rename ptr::invalid -> ptr::without_provenanceRalf Jung-6/+6
2024-02-14Clarified docs on non-atomic oprations on owned/mut refs to atomicsPeter Hall-2/+3
2024-02-11Rollup merge of #119449 - Nilstrieb:library-clippy, r=cuviperMatthias Krüger-0/+4
2024-02-08Clarify that atomic and regular integers can differ in alignmentLegionMammal978-1/+10
2024-01-21Fix `clippy::correctness` in the libraryNilstrieb-0/+4
2023-12-19Docs: Use non-SeqCst in module example of atomicsAngelicosPhosphoros-4/+9
2023-11-15Substitute version placeholdersMark Rousskov-3/+3
2023-11-09Rollup merge of #116762 - WaffleLapkin:fixup_fromptr_docs, r=RalfJungTakayuki Maeda-43/+81
2023-11-07Document how rust atomics work wrt mixed-sized and non-atomic accessesMaybe Waffle-43/+81
2023-10-20s/generator/coroutine/Oli Scherer-1/+1
2023-10-20s/Generator/Coroutine/Oli Scherer-4/+4
2023-10-20Fix typo in atomic docsltdk-1/+1
2023-10-17remove 128bit atomics, they are anyway not exposed on those targetsRalf Jung-2/+1
2023-10-16use target-arch based tableRalf Jung-5/+4
2023-10-15acquire loads can be done as relaxed load; acquire fenceRalf Jung-0/+3
2023-10-15only guarantee for Relaxed; add ptr-size fallbackRalf Jung-18/+15
2023-10-15wordingRalf Jung-9/+13
2023-10-15define 'read-only memory'Ralf Jung-1/+8
2023-10-15add general powerpc64le boundRalf Jung-7/+8
2023-10-15add ARM and RISC-V valuesRalf Jung-3/+7
2023-10-15document when atomic loads are guaranteed read-onlyRalf Jung-0/+20