summaryrefslogtreecommitdiff
path: root/library/std/src/sync
Commit message (Expand)AuthorAgeFilesLines
* Remove unnecessary Send boundGil Shoshan2023-05-032-3/+3
* replace version placeholdersPietro Albini2023-04-282-21/+21
* Rollup merge of #110419 - jsoref:spelling-library, r=jyn514Matthias Krüger2023-04-262-2/+2
|\
| * Spelling library/Josh Soref2023-04-262-2/+2
* | Auto merge of #106152 - SUPERCILEX:lazycell, r=Amanieubors2023-04-241-1/+37
|\ \
| * | Add Lazy{Cell,Lock}::into_innerAlex Saveau2023-04-141-1/+37
| |/
* | rm const traits in libcoreDeadbeef2023-04-161-2/+1
|/
* sync::mpsc: synchronize receiver disconnect with initializationPetros Angelatos2023-04-081-0/+12
* Documentation updates to better share the purpose of OnceCell/OnceLockTrevor Gross2023-03-291-1/+4
* Stabilize a portion of 'once_cell'Trevor Gross2023-03-293-51/+36
* Rollup merge of #109142 - the8472:mutex-block-docs, r=cuviperMatthias Krüger2023-03-241-7/+17
|\
| * Apply suggestions from code reviewthe84722023-03-201-3/+3
| * Add block-based mutex unlocking exampleThe 84722023-03-201-7/+17
* | Rollup merge of #108164 - joboet:discard_messages_mpmc_array, r=AmanieuMatthias Krüger2023-03-213-26/+98
|\ \ | |/ |/|
| * std: leak remaining messages in bounded channel if message destructor panicsjoboet2023-03-141-66/+42
| * std: disconnect senders before discarding messagesjoboet2023-02-261-4/+5
| * std: add regression test for #107466joboet2023-02-171-0/+13
| * std: drop all messages in bounded channel when destroying the last receiverjoboet2023-02-172-27/+109
* | unequal → not equalgimbles2023-03-151-1/+1
* | Auto merge of #107329 - joboet:optimize_lazylock, r=m-ou-sebors2023-02-183-17/+87
|\ \ | |/ |/|
| * std: add safety comment in `LazyLock::get`joboet2023-01-271-1/+8
| * std: fix `Debug` implementation on `LazyLock`joboet2023-01-271-8/+5
| * std: optimize `LazyLock` sizejoboet2023-01-263-17/+83
* | remove optimistic spinning from `mpsc::SyncSender`Ibraheem Ahmed2023-01-142-23/+7
|/
* Rollup merge of #106701 - ibraheemdev:sync-sender-spin, r=AmanieuMatthias Krüger2023-01-137-33/+49
|\
| * rework and document backoff behavior of `sync::mpsc`Ibraheem Ahmed2023-01-114-31/+30
| * add `SyncSender::send_timeout` testIbraheem Ahmed2023-01-103-1/+18
| * fix `SyncSender` spinning behaviorIbraheem Ahmed2023-01-101-1/+1
* | std test: better type name, clarifying commentRalf Jung2023-01-091-1/+1
|/
* Update rand in the stdlib tests, and remove the getrandom feature from itThom Chiovoloni2023-01-041-2/+2
* Auto merge of #105651 - tgross35:once-cell-inline, r=m-ou-sebors2022-12-302-1/+21
|\
| * Add #[inline] marker to OnceCell/LazyCell/OnceLock/LazyLockTrevor Gross2022-12-132-1/+21
* | Rollup merge of #104402 - joboet:sync_remutex, r=m-ou-seMatthias Krüger2022-12-283-0/+241
|\ \
| * | std: move `ReentrantMutex` to `sync`joboet2022-11-143-0/+241
* | | Rollup merge of #104708 - jonasspinner:fix-backoff-doc-to-match-implementatio...fee1-dead2022-12-281-1/+1
|\ \ \
| * | | rustdoc: Fix backoff doc to match implementationJonas Spinner2022-11-221-1/+1
* | | | Rollup merge of #103718 - matklad:infer-lazy, r=dtolnayMichael Goulet2022-12-272-4/+7
|\ \ \ \ | |_|_|/ |/| | |
| * | | More inference-friendly API for lazyAleksey Kladov2022-10-292-4/+7
* | | | Rollup merge of #105243 - RalfJung:no-op-let, r=Mark-SimulacrumMatthias Krüger2022-12-061-9/+3
|\ \ \ \
| * | | | remove no-op 'let _ = 'Ralf Jung2022-12-041-9/+3
| | |/ / | |/| |
* | | | fix dupe word typosRageking82022-12-051-1/+1
|/ / /
* | | Rollup merge of #104528 - WaffleLapkin:lazy_lock_docfix, r=matkladDylan DPC2022-11-192-3/+7
|\ \ \
| * | | Properly link `{Once,Lazy}{Cell,Lock}` in docsMaybe Waffle2022-11-172-3/+7
| | |/ | |/|
* | | avoid memory leak in mpsc testRalf Jung2022-11-141-2/+3
|/ /
* | Auto merge of #93563 - ibraheemdev:crossbeam-channel, r=Amanieubors2022-11-1323-2826/+2695
|\ \
| * | avoid calling `thread::current` in channel destructorIbraheem Ahmed2022-11-122-13/+11
| * | tidyIbraheem Ahmed2022-11-094-5/+4
| * | spin less in `mpsc::SyncSender::send`Ibraheem Ahmed2022-11-091-1/+1
| * | remove extra spinning from `mpsc` parkerIbraheem Ahmed2022-11-091-15/+0
| * | `sync::mpsc`: quadratic backoffIbraheem Ahmed2022-11-091-2/+3