summary refs log tree commit diff
path: root/library/core/src/sync
AgeCommit message (Expand)AuthorLines
2025-03-21Allow inlining for `Atomic*::from_ptr`Trevor Gross-0/+3
2025-03-16Rollup merge of #138082 - thaliaarchi:slice-cfg-not-test, r=thomcc许杰友 Jieyou Xu (Joe)-13/+13
2025-03-10Rollup merge of #137585 - xizheyin:issue-135801, r=workingjubileeMatthias Krüger-5/+5
2025-03-07Rollup merge of #138000 - RalfJung:atomic-rmw, r=AmanieuJacob Pratt-2/+3
2025-03-06library: Use size_of from the prelude instead of importedThalia Archibald-2/+2
2025-03-06Remove #[cfg(not(test))] gates in coreThalia Archibald-13/+13
2025-03-04atomic: clarify that failing conditional RMW operations are not 'writes'Ralf Jung-2/+3
2025-02-25fix doc in library/core/src/sync/atomic.rsxizheyin-5/+5
2025-01-30atomic: extend compare_and_swap migration docsRalf Jung-0/+18
2025-01-28Auto merge of #136203 - matthiaskrgr:rollup-1k0f44l, r=matthiaskrgrbors-1/+1
2025-01-28Rollup merge of #135869 - hkBst:patch-12, r=NoratriebMatthias Krüger-1/+1
2025-01-28Rollup merge of #133829 - GrigorenkoPV:fetch_update_infallible, r=NoratriebMatthias Krüger-3/+374
2025-01-28Fix platform-specific doc string for AtomicUsize::from_mut to be platform-ind...Marijn Schouten-1/+1
2025-01-26compiler_fence: fix exampleRalf Jung-13/+13
2025-01-22Implement `AtomicT::update` & `AtomicT::try_update`Pavel Grigorenko-3/+374
2024-12-21Less unwrap() in documentationKornel-2/+2
2024-11-27replace placeholder versionBoxy-3/+3
2024-11-16Rollup merge of #131717 - tgross35:stabilize-const_atomic_from_ptr, r=RalfJungMatthias Krüger-3/+3
2024-11-02get rid of a whole bunch of unnecessary rustc_const_unstable attributesRalf Jung-2/+0
2024-10-29Stabilize `const_atomic_from_ptr`Trevor Gross-3/+3
2024-10-25Re-do recursive const stability checksRalf Jung-5/+21
2024-10-21move strict provenance lints to new feature gate, remove old feature gatesRalf Jung-6/+6
2024-09-29Rollup merge of #130972 - RalfJung:const_cell_into_inner, r=dtolnayMatthias Krüger-3/+3
2024-09-28Further clarificarion for atomic and UnsafeCell docs:Ralf Jung-19/+18
2024-09-28allow mixed-size atomic readsRalf Jung-10/+16
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