summary refs log tree commit diff
path: root/library/core/src/sync
AgeCommit message (Expand)AuthorLines
2022-06-22Rollup merge of #97516 - RalfJung:atomics, r=joshtriplettYuki Okushi-0/+7
2022-06-21hedge our betsRalf Jung-1/+1
2022-06-11Stabilize scoped threads.Mara Bos-6/+6
2022-05-29clarify how Rust atomics correspond to C++ atomicsRalf Jung-0/+7
2022-05-25Rollup merge of #97026 - Nilstrieb:make-atomic-debug-relaxed, r=scottmcmDylan DPC-3/+3
2022-05-19Fix doc typoAndrew Lygin-1/+1
2022-05-13Change orderings of `Debug` for the Atomic types to `Relaxed`.Nilstrieb-3/+3
2022-05-09Auto merge of #95960 - jhpratt:remove-rustc_deprecated, r=compiler-errorsbors-11/+11
2022-04-28Add more diagnostic itemsSerial-0/+15
2022-04-14Remove use of `#[rustc_deprecated]`Jacob Pratt-11/+11
2022-04-02Rollup merge of #95354 - dtolnay:rustc_const_stable, r=lcnrDylan DPC-2/+2
2022-03-31Adjust feature names that disagree on const stabilization versionDavid Tolnay-2/+2
2022-03-27Update target_has_atomic documentation for stabilizationEric Huss-3/+4
2022-03-13Rollup merge of #94816 - WaffleLapkin:atomic_get_mut_slice, r=Mark-SimulacrumMatthias Krüger-0/+110
2022-03-11Add `Atomic*::get_mut_slice`Maybe Waffle-0/+110
2022-03-10Use implicit capture syntax in format_argsT-O-R-U-S-2/+2
2022-03-03Fix doctests.Mara Bos-3/+3
2022-02-25Add Atomic*::from_mut_sliceJosh Stone-0/+94
2022-02-17Rollup merge of #89869 - kpreid:from-doc, r=yaahcMatthias Krüger-0/+1
2022-01-13Add rustc_diagnostic_item attribute to AtomicBoolAndre Bogus-0/+1
2022-01-08Make `Atomic*::from_mut` return `&mut Atomic*`Maybe Waffle-6/+6
2021-12-04Add documentation to more `From::from` implementations.Kevin Reid-0/+1
2021-10-20Make `From` impls of NonZero integer const.woppopo-1/+1
2021-10-18Make more `From` impls `const`woppopo-3/+6
2021-10-15updating docs to reflect current situationGiles Cope-1/+1
2021-10-10Add #[must_use] to core and std constructorsJohn Kugelman-0/+2
2021-08-17Constified `Default` implementationsDeadbeef-3/+6
2021-08-16Uplift the `invalid_atomic_ordering` lint from clippy to rustcThom Chiovoloni-0/+4
2021-07-29Fix may not to appropriate might not or must notAli Malik-1/+1
2021-07-06Fix typo in core::sync::atomic::compiler_fence exampleJúnior Bassani-1/+1
2021-07-06Replace deprecated compare_and_swap by compare_exchange_weak in core::sync::a...Júnior Bassani-1/+5
2021-04-11Stabilize atomic_fetch_update methods on AtomicBool and AtomicPtr.Mara Bos-4/+2
2021-04-10fix Miri errors in libcore doctestsRalf Jung-7/+14
2021-03-15Fix const stability `since` versions.Oli Scherer-4/+4
2021-02-25Convert the rest of the standard library primitives to intra-doc linksJoshua Nelson-32/+28
2021-01-14Rollup merge of #80966 - KodrAus:deprecate/spin_loop_hint, r=m-ou-seMara Bos-15/+12
2021-01-13Update tests for extern block lintingMark Rousskov-2/+2
2021-01-13deprecate atomic::spin_loop_hint in favour of hint::spin_loopAshley Mannix-15/+12
2020-12-30Remove all doc_comment!{} hacks by using #[doc = expr] where needed.Mara Bos-702/+658
2020-12-30Bump bootstrap compiler to 1.50 betaMark Rousskov-62/+4
2020-12-22Improve documentation on `success` and `failure` argumentsLinus Färnstrand-18/+24
2020-12-22Add doc aliases to compare_exchange[_weak]Linus Färnstrand-0/+2
2020-12-22Add documentation on migrating away from compare_and_swapLinus Färnstrand-0/+51
2020-12-22Deprecate compare_and_swap on all atomic typesLinus Färnstrand-0/+12
2020-12-20Use pointer type in AtomicPtr::swap implementationTomasz Miąsko-1/+9
2020-11-29Cast pointers to usize before passing them to atomic operations as some platf...oli-1/+4
2020-11-28Directly use raw pointers in `AtomicPtr` store/loadoli-1/+27
2020-11-17Clarify availability of atomic operationsJames Munns-3/+10
2020-11-08Rollup merge of #78728 - a1phyr:const_cell_into_inner, r=dtolnayMara Bos-3/+6
2020-11-08Rollup merge of #76097 - pickfire:stabilize-spin-loop, r=KodrAusMara Bos-13/+3