summaryrefslogtreecommitdiff
path: root/library/std/src/sync/mutex.rs
Commit message (Expand)AuthorAgeFilesLines
* Apply suggestions from code reviewthe84722023-03-201-3/+3
* Add block-based mutex unlocking exampleThe 84722023-03-201-7/+17
* std: remove lock wrappers in `sys_common`joboet2022-11-061-10/+6
* Rollup merge of #97739 - a2aaron:let_underscore, r=estebankGuillaume Gomez2022-09-021-0/+1
|\
| * Add diagnostic items to MutexGuard and RwLock GuardsAaron Kofsky2022-06-051-0/+1
* | Auto merge of #97791 - m-ou-se:const-locks, r=m-ou-sebors2022-06-191-1/+3
|\ \
| * | Make {Mutex, Condvar, RwLock}::new() const.Mara Bos2022-06-061-0/+1
| * | Make all {Mutex, Condvar, RwLock}::new #[inline].Mara Bos2022-06-061-1/+2
| |/
* | Avoid `thread::panicking()` in non-poisoning methods of `Mutex` and `RwLock`Josh Stone2022-06-091-3/+3
* | Update library/std/src/sync/mutex.rsDylan DPC2022-06-071-1/+1
* | Remove confusing sentence from `Mutex` docsNilstrieb2022-06-071-5/+4
|/
* Auto merge of #96422 - tmccombs:mutex-unpoison, r=m-ou-sebors2022-05-201-0/+39
|\
| * Remove references to guards in documentation for clear_poisonThayne McCombs2022-05-201-5/+5
| * Change clear_poison to take the lock instead of a guardThayne McCombs2022-05-191-4/+9
| * Add tracking issue number for mutex_unpoisonThayne McCombs2022-04-271-1/+1
| * Add functions to un-poison Mutex and RwLockThayne McCombs2022-04-261-0/+34
* | Mark locks in std lib with clippy::has_significant_dropPreston From2022-05-061-0/+1
|/
* update cfg(bootstrap)sPietro Albini2022-01-281-5/+2
* Practice diagnostic message conventionHirochika Matsumoto2021-10-031-1/+1
* Make diangostic item names consistentCameron Steffen2021-10-021-1/+1
* ref/refmutGus Wynn2021-09-281-1/+1
* lock typesGus Wynn2021-09-271-0/+6
* Move Mutex::unlock to T: ?SizedMark Mansi2021-07-011-20/+20
* minor rewording after reviewTaylor Yu2021-05-241-2/+2
* doc: clarify Mutex::try_lock, etc. errorsTaylor Yu2021-05-201-2/+8
* Simplify `Mutex::into_inner`BenoƮt du Garreau2021-04-281-19/+2
* Move `sys_common::poison` to `sync::poison`Christiaan Dirkx2021-04-221-1/+1
* Improve Debug implementations of Mutex and RwLock.Mara Bos2021-03-271-4/+8
* add Mutex::unlockmark2021-02-181-0/+20
* (docs): make mutex error comment consistent with codebaseSteve Manuel2020-10-071-1/+1
* Split sys_common::Mutex in StaticMutex and MovableMutex.Mara Bos2020-09-271-26/+4
* Replace unneeded `unsafe` calls to `.get()` with calls to `.get_mut()`Daniel Henry-Mantilla2020-09-201-3/+1
* Auto merge of #76128 - poliorcetics:doc-use-arc-clone, r=KodrAusbors2020-09-061-4/+4
|\
| * Move to Arc::clone(&x) over x.clone() in library/stdAlexis Bourget2020-08-301-4/+4
* | std: move "mod tests/benches" to separate filesLzu Tao2020-08-311-242/+3
|/
* Use intra-doc-links in `std::sync::*`LeSeulArtichaut2020-08-221-16/+8
* mv std libs to library/mark2020-07-271-0/+767