about summary refs log tree commit diff
path: root/library/std/src/sync
AgeCommit message (Expand)AuthorLines
2023-07-12Replace version placeholder to 1.72Mark Rousskov-1/+1
2023-06-30std docs: factorize literal in Barrier exampleGuilliam Xavier-6/+8
2023-06-10implement `Sync` for `mpsc::Sender`Ibraheem Ahmed-2/+2
2023-06-01doc: improve explanationTshepang Mbambo-1/+1
2023-05-03Remove unnecessary Send boundGil Shoshan-3/+3
2023-04-28replace version placeholdersPietro Albini-21/+21
2023-04-26Rollup merge of #110419 - jsoref:spelling-library, r=jyn514Matthias Krüger-2/+2
2023-04-26Spelling library/Josh Soref-2/+2
2023-04-24Auto merge of #106152 - SUPERCILEX:lazycell, r=Amanieubors-1/+37
2023-04-16rm const traits in libcoreDeadbeef-2/+1
2023-04-14Add Lazy{Cell,Lock}::into_innerAlex Saveau-1/+37
2023-04-08sync::mpsc: synchronize receiver disconnect with initializationPetros Angelatos-0/+12
2023-03-29Documentation updates to better share the purpose of OnceCell/OnceLockTrevor Gross-1/+4
2023-03-29Stabilize a portion of 'once_cell'Trevor Gross-51/+36
2023-03-24Rollup merge of #109142 - the8472:mutex-block-docs, r=cuviperMatthias Krüger-7/+17
2023-03-21Rollup merge of #108164 - joboet:discard_messages_mpmc_array, r=AmanieuMatthias Krüger-26/+98
2023-03-20Apply suggestions from code reviewthe8472-3/+3
2023-03-20Add block-based mutex unlocking exampleThe 8472-7/+17
2023-03-15unequal → not equalgimbles-1/+1
2023-03-14std: leak remaining messages in bounded channel if message destructor panicsjoboet-66/+42
2023-02-26std: disconnect senders before discarding messagesjoboet-4/+5
2023-02-18Auto merge of #107329 - joboet:optimize_lazylock, r=m-ou-sebors-17/+87
2023-02-17std: add regression test for #107466joboet-0/+13
2023-02-17std: drop all messages in bounded channel when destroying the last receiverjoboet-27/+109
2023-01-27std: add safety comment in `LazyLock::get`joboet-1/+8
2023-01-27std: fix `Debug` implementation on `LazyLock`joboet-8/+5
2023-01-26std: optimize `LazyLock` sizejoboet-17/+83
2023-01-14remove optimistic spinning from `mpsc::SyncSender`Ibraheem Ahmed-23/+7
2023-01-13Rollup merge of #106701 - ibraheemdev:sync-sender-spin, r=AmanieuMatthias Krüger-33/+49
2023-01-11rework and document backoff behavior of `sync::mpsc`Ibraheem Ahmed-31/+30
2023-01-10add `SyncSender::send_timeout` testIbraheem Ahmed-1/+18
2023-01-10fix `SyncSender` spinning behaviorIbraheem Ahmed-1/+1
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