about summary refs log tree commit diff
path: root/library/std/src/sync
AgeCommit message (Expand)AuthorLines
2024-03-13Rollup merge of #122386 - joboet:move_pal_once, r=jhprattMatthias Krüger-5/+5
2024-03-12std: move `Once` implementations to `sys`joboet-5/+5
2024-03-12Use `min_exhaustive_patterns` in core & stdNadrieril-0/+8
2024-03-01Rollup merge of #121736 - HTGAzureX1212:HTGAzureX1212/remove-mutex-unlock, r=...Matthias Krüger-20/+0
2024-02-29fix typosIbraheem Ahmed-3/+3
2024-02-29document potential memory leak in unbounded channelIbraheem Ahmed-0/+3
2024-02-29Rollup merge of #110543 - joboet:reentrant_lock, r=m-ou-seMatthias Krüger-197/+340
2024-02-28remove Mutex::unlockHTGAzureX1212.-20/+0
2024-02-26fix race between block initialization and receiver disconnectionIbraheem Ahmed-2/+2
2024-02-25Auto merge of #117107 - zachs18:mapped-mutex-guard, r=Amanieubors-4/+985
2024-02-24library: use `addr_of!`Pavel Grigorenko-2/+6
2024-02-23Apply suggestions from code reviewzachs18-3/+3
2024-02-23Auto merge of #119536 - Jules-Bertholet:const-barrier, r=dtolnaybors-1/+3
2024-02-23std: make `ReentrantLock` publicjoboet-197/+340
2024-02-20Stabilize `LazyCell` and `LazyLock` (`lazy_cell`)Peter Jaszkowiak-19/+24
2024-05-24Add manual Sync impl for ReentrantLockGuardJacob Lifshay-0/+3
2024-02-14Auto merge of #121078 - oli-obk:rollup-p11zsav, r=oli-obkbors-1/+1
2024-02-14Auto merge of #100603 - tmandry:zst-guards, r=dtolnaybors-2/+49
2024-02-14Fix typos in `OneLock` docIgor-1/+1
2024-02-08Bump version placeholdersMark Rousskov-2/+2
2024-01-14std: Doc blocking behavior of LazyLock methodsBehnam Esfahbod-6/+15
2024-01-10Stabilize mutex_unpoison featureThayne McCombs-6/+2
2024-01-02Make `Barrier::new()` constJules Bertholet-1/+3
2023-12-10Auto merge of #118692 - surechen:remove_unused_imports, r=petrochenkovbors-2/+0
2023-12-10remove redundant importssurechen-2/+0
2023-12-10Fix typo in `std::sync::Mutex` examplenaglis-1/+1
2023-12-08OnceLock: Rework example, statics aren't droppedIan Rees-14/+25
2023-12-05fmtZachary S-4/+1
2023-12-05Specify behavior if the closure passed to *Guard::*map panics.Zachary S-69/+364
2023-12-05fix MappedMutexGuard::(try_)map doc typo.Zachary S-2/+2
2023-12-05Add MappedMutexGuard and MappedRwLock*Guard tests.Zachary S-2/+133
2023-12-05Fix Condvar typo, add public re-exports of Mapped*Guard.Zachary S-2/+6
2023-12-05Add comment about `Mapped(Mutex|RwLockWrite)Guard` variance.Zachary S-35/+43
2023-12-05Implmement `MappedRwLock(Read|Write)Guard`.Zachary S-3/+355
2023-12-05Implement `MappedMutexGuard`.Zachary S-0/+193
2023-12-05Allow cloning `poison::Guard`s.Zachary S-0/+1
2023-11-25Update `OnceLock` documentation to give a concrete 'lazy static' example, and...Corey Farwell-9/+41
2023-10-24Add T: ?Sized to RwLock*Guards' Debug impls.Zachary S-2/+2
2023-10-13Implement `OnceCell/Lock::try_insert()`daxpedda-3/+40
2023-10-06Minor doc clarification in Once::call_oncePeter Hall-1/+1
2023-09-19Replace 'mutex' with 'lock' in RwLock documentationKriskras99-2/+2
2023-08-18Remove Drop impl of mpsc Receiver and (Sync)SenderBen Schulz-15/+0
2023-08-12Update Sender documentation for SyncGurinder Singh-3/+2
2023-08-01[library/std] Replace condv while loop with `cvar.wait_while`.Taras Tsugrii-5/+2
2023-07-31Rollup merge of #109318 - joboet:better_fmt_placeholder, r=dtolnayMatthias Krüger-20/+12
2023-07-30Rollup merge of #109075 - joboet:lazylock_backtrace, r=workingjubileeJubilee-0/+9
2023-07-30Fix the example in document for WaitTimeoutResult::timed_outyukang-10/+8
2023-07-25docs(LazyLock): add example pass local LazyLock variable to structDragonBillow-0/+20
2023-07-19avoid tls access while iterating through mpsc thread entriesIbraheem Ahmed-20/+26
2023-07-18support for mips32r6 as a target_arch valuechenx97-0/+2