about summary refs log tree commit diff
path: root/library/core/src/sync
AgeCommit message (Expand)AuthorLines
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
2020-11-06Stabilize hint::spin_loopIvan Tham-13/+3
2020-11-04Add tracking issueBenoît du Garreau-3/+3
2020-11-04Constantify `UnsafeCell::into_inner` and relatedBenoît du Garreau-3/+6
2020-11-03Expand `NtExpr` tokens only in key-value attributesVadim Petrochenkov-57/+49
2020-11-01Add fetch_update methods to AtomicBool and AtomicPtrNika Layzell-0/+125
2020-11-01Inline Default::default() for atomicsScott Olson-0/+2
2020-09-21Move `use align_of` in atomic.rs into the places where it is used.Mara Bos-3/+2
2020-09-21Gate Atomic::from_mut on cfg(target_has_atomic_equal_alignment).Mara Bos-8/+19
2020-09-21Revert "Revert adding Atomic::from_mut."Mara Bos-0/+90
2020-09-21Rollup merge of #76967 - fusion-engineering-forks:revert-atomic-from-mut, r=k...Ralf Jung-90/+0
2020-09-20Replace unneeded `unsafe` calls to `.get()` with calls to `.get_mut()`Daniel Henry-Mantilla-4/+2
2020-09-20Revert adding Atomic::from_mut.Mara Bos-90/+0
2020-09-13Supress unused_macros error on architectures with no atomics.Mara Bos-0/+1
2020-09-13Fix AtomicPtr::from_mut align check: Avoid generic arg in const expr.Mara Bos-1/+1
2020-09-13Add Atomic*::from_mut.Mara Bos-1/+97
2020-08-30Move to Arc::clone(&x) over x.clone() in library/coreAlexis Bourget-1/+1
2020-08-28Use intra-doc links for boolDenis Vasilik-12/+0
2020-08-28Use intra-doc linksDenis Vasilik-227/+7
2020-07-29fence docs: fix example MutexRalf Jung-1/+2
2020-07-27mv std libs to library/mark-0/+2799