about summary refs log tree commit diff
path: root/library/std/src/sync
AgeCommit message (Expand)AuthorLines
2023-01-09std test: better type name, clarifying commentRalf Jung-1/+1
2023-01-04Update rand in the stdlib tests, and remove the getrandom feature from itThom Chiovoloni-2/+2
2022-12-30Auto merge of #105651 - tgross35:once-cell-inline, r=m-ou-sebors-1/+21
2022-12-28Rollup merge of #104402 - joboet:sync_remutex, r=m-ou-seMatthias Krüger-0/+241
2022-12-28Rollup merge of #104708 - jonasspinner:fix-backoff-doc-to-match-implementatio...fee1-dead-1/+1
2022-12-27Rollup merge of #103718 - matklad:infer-lazy, r=dtolnayMichael Goulet-4/+7
2022-12-13Add #[inline] marker to OnceCell/LazyCell/OnceLock/LazyLockTrevor Gross-1/+21
2022-12-06Rollup merge of #105243 - RalfJung:no-op-let, r=Mark-SimulacrumMatthias Krüger-9/+3
2022-12-05fix dupe word typosRageking8-1/+1
2022-12-04remove no-op 'let _ = 'Ralf Jung-9/+3
2022-11-22rustdoc: Fix backoff doc to match implementationJonas Spinner-1/+1
2022-11-19Rollup merge of #104528 - WaffleLapkin:lazy_lock_docfix, r=matkladDylan DPC-3/+7
2022-11-17Properly link `{Once,Lazy}{Cell,Lock}` in docsMaybe Waffle-3/+7
2022-11-14std: move `ReentrantMutex` to `sync`joboet-0/+241
2022-11-14avoid memory leak in mpsc testRalf Jung-2/+3
2022-11-13Auto merge of #93563 - ibraheemdev:crossbeam-channel, r=Amanieubors-2826/+2695
2022-11-12avoid calling `thread::current` in channel destructorIbraheem Ahmed-13/+11
2022-11-12Auto merge of #103150 - joboet:remove_lock_wrappers, r=m-ou-sebors-19/+11
2022-11-09tidyIbraheem Ahmed-5/+4
2022-11-09spin less in `mpsc::SyncSender::send`Ibraheem Ahmed-1/+1
2022-11-09remove extra spinning from `mpsc` parkerIbraheem Ahmed-15/+0
2022-11-09`sync::mpsc`: quadratic backoffIbraheem Ahmed-2/+3
2022-11-09`sync::mpsc`: reload state after spinning on CAS failureIbraheem Ahmed-8/+8
2022-11-09remove extra spinning from `mpsc::Receiver::recv`Ibraheem Ahmed-26/+6
2022-11-09remove mention of rust-lang#39364 from mpsc docsIbraheem Ahmed-28/+0
2022-11-09add test case for rust-lang#39364Ibraheem Ahmed-0/+14
2022-11-09implement `sync::mpsc` as a wrapper around `sync::mpmc`Ibraheem Ahmed-2798/+24
2022-11-09initial port of crossbeam-channelIbraheem Ahmed-0/+2694
2022-11-08clarify licensing situation of mpsc and spsc queuePietro Albini-2/+17
2022-11-06std: remove lock wrappers in `sys_common`joboet-19/+11
2022-10-29More inference-friendly API for lazyAleksey Kladov-4/+7
2022-10-25more dupe typos againRageking8-1/+1
2022-10-11Rollup merge of #102277 - mgeisler:rwlock, r=m-ou-seYuki Okushi-31/+32
2022-10-08Auto merge of #99505 - joboet:futex_once, r=thomccbors-289/+23
2022-10-07std: use futex in `Once`joboet-289/+23
2022-09-27Address feedbackmejrs-0/+1
2022-09-25Consistently write `RwLock`Martin Geisler-31/+32
2022-09-04Auto merge of #100576 - joboet:movable_const_remutex, r=Mark-Simulacrumbors-55/+0
2022-09-03std: make `ReentrantMutex` movable and `const`; simplify `Stdout` initializationjoboet-55/+0
2022-09-02Rollup merge of #97739 - a2aaron:let_underscore, r=estebankGuillaume Gomez-0/+3
2022-08-18make many std tests work in MiriRalf Jung-18/+24
2022-06-30Rollup merge of #97629 - guswynn:exclusive_struct, r=m-ou-seMatthias Krüger-0/+2
2022-06-25Auto merge of #96820 - r-raymond:master, r=cuviperbors-5/+37
2022-06-23add tracking issue for exclusiveGus Wynn-1/+1
2022-06-19Auto merge of #97791 - m-ou-se:const-locks, r=m-ou-sebors-3/+10
2022-06-19Add comment explaining why we use NonNullRobin Raymond-0/+4
2022-06-19Add safety commentsRobin Raymond-6/+9
2022-06-19Documentation typoRobin Raymond-1/+1
2022-06-19*const to NonNull plus documentationRobin Raymond-3/+12
2022-06-19Address commentsRobin Raymond-3/+3