about summary refs log tree commit diff
path: root/library/std/src/sync
AgeCommit message (Expand)AuthorLines
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-08-15Optimize poison guards to ZSTs when panic=abortTyler Mandry-2/+49
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
2022-06-19More formattingRobin Raymond-1/+1
2022-06-19FormattingRobin Raymond-2/+5
2022-06-19Make RwLockReadGuard covariantRobin Raymond-5/+18
2022-06-19Rollup merge of #98165 - WaffleLapkin:once_things_renamings, r=m-ou-seMatthias Krüger-0/+970
2022-06-16Move/rename `lazy::Sync{OnceCell,Lazy}` to `sync::{Once,Lazy}Lock`Maybe Waffle-0/+970
2022-06-09Avoid `thread::panicking()` in non-poisoning methods of `Mutex` and `RwLock`Josh Stone-8/+15
2022-06-07[core] add Exclusive to syncGus Wynn-0/+2
2022-06-07Update library/std/src/sync/mutex.rsDylan DPC-1/+1
2022-06-07Remove confusing sentence from `Mutex` docsNilstrieb-5/+4
2022-06-06Make {Mutex, Condvar, RwLock}::new() const.Mara Bos-0/+3
2022-06-06Make all {Mutex, Condvar, RwLock}::new #[inline].Mara Bos-3/+7
2022-06-05Add diagnostic items to MutexGuard and RwLock GuardsAaron Kofsky-0/+3
2022-06-01use 128 cache align for m1 macyifei-1/+2