about summary refs log tree commit diff
path: root/library/std/src/sync
AgeCommit message (Expand)AuthorLines
2021-10-10Add #[must_use] to core and std constructorsJohn Kugelman-0/+3
2021-10-03Practice diagnostic message conventionHirochika Matsumoto-3/+3
2021-10-02Make diangostic item names consistentCameron Steffen-1/+1
2021-09-28ref/refmutGus Wynn-2/+2
2021-09-27lock typesGus Wynn-0/+18
2021-09-22Update library/std/src/sync/mpsc/shared.rsMara Bos-1/+1
2021-09-05rust fmtlovasoa-1/+5
2021-09-03Add a better error message for #39364Ophir LOJKINE-1/+1
2021-07-29Fix may not to appropriate might not or must notAli Malik-8/+8
2021-07-02Rollup merge of #86783 - mark-i-m:mutex-drop-unsized, r=XanewokYuki Okushi-20/+20
2021-07-01Move Mutex::unlock to T: ?SizedMark Mansi-20/+20
2021-06-28Auto merge of #82624 - ojeda:rwlock-example-deadlock, r=JohnTitorbors-1/+13
2021-06-23Use HTTPS links where possibleSmitty-3/+3
2021-06-15Rollup merge of #80269 - pickfire:patch-4, r=joshtriplettYuki Okushi-7/+46
2021-06-12Explain non-dropped sender recv in docsIvan Tham-7/+46
2021-06-01Multiple improvements to RwLocksBenoît du Garreau-30/+4
2021-05-24minor rewording after reviewTaylor Yu-6/+6
2021-05-20doc: clarify Mutex::try_lock, etc. errorsTaylor Yu-9/+28
2021-04-28Simplify `Mutex::into_inner`Benoît du Garreau-19/+2
2021-04-22Move `sys_common::poison` to `sync::poison`Christiaan Dirkx-6/+265
2021-04-21Replace all `fmt.pad` with `debug_struct`Christiaan Dirkx-4/+4
2021-04-01Fix minor typo in once.rsPredrag Gruevski-1/+1
2021-03-28Rollup merge of #83561 - m-ou-se:lock-debug, r=jackh726Yuki Okushi-8/+16
2021-03-28Rollup merge of #83559 - m-ou-se:rwlock-guard-debug-fix, r=jackh726Yuki Okushi-2/+2
2021-03-27Improve Debug implementations of Mutex and RwLock.Mara Bos-8/+16
2021-03-27Fix Debug implementation for RwLock{Read,Write}Guard.Mara Bos-2/+2
2021-03-27Use DebugStruct::finish_non_exhaustive() in std.Mara Bos-3/+3
2021-03-05RWLock: Add deadlock exampleMiguel Ojeda-1/+13
2021-03-01Rollup merge of #82578 - camsteffen:diag-items, r=oli-obkJoshua Nelson-0/+1
2021-03-01Add diagnostic itemsCameron Steffen-0/+1
2021-02-27Update library/std/src/sync/rwlock.rsAleksey Kladov-1/+1
2021-02-27clarify RW lock's priority gotchaAleksey Kladov-1/+3
2021-02-18add Mutex::unlockmark-0/+20
2021-02-04Stabilize poison API of Once, rename poisoned()Martin Habovstiak-15/+9
2020-12-22Fix documentation typoLinus Färnstrand-1/+1
2020-12-22Migrate standard library away from compare_and_swapLinus Färnstrand-14/+42
2020-11-07Convert a bunch of intra-doc linksCamelid-3/+0
2020-10-07(docs): make mutex error comment consistent with codebaseSteve Manuel-1/+1
2020-10-02Disable condvar::two_mutexes test on non-unix platforms.Mara Bos-1/+1
2020-10-02Move boxing and mutex checking logic of condvar into sys_common.Mara Bos-40/+4
2020-09-27Split sys_common::Mutex in StaticMutex and MovableMutex.Mara Bos-28/+6
2020-09-25Rollup merge of #76932 - fusion-engineering-forks:condvar-promise, r=sfacklerJonas Schievink-11/+5
2020-09-25Rollup merge of #76978 - duckymirror:mpsc-from-doc, r=jyn514Jonas Schievink-0/+15
2020-09-21Applied review commentsErik Hofmayer-0/+6
2020-09-21Rollup merge of #76936 - danielhenrymantilla:unsafecell_get_mut, r=RalfJungRalf Jung-6/+2
2020-09-20Fix nitsAlexis Bourget-4/+3
2020-09-20Replace unneeded `unsafe` calls to `.get()` with calls to `.get_mut()`Daniel Henry-Mantilla-6/+2
2020-09-20Documented From impls in std/sync/mpsc/mod.rsErik Hofmayer-0/+9
2020-09-19Relax promises about condition variable.Mara Bos-11/+5
2020-09-18Fix broken linkAlexis Bourget-3/+3