about summary refs log tree commit diff
path: root/library/std/src/sync
AgeCommit message (Expand)AuthorLines
2022-01-28update cfg(bootstrap)sPietro Albini-15/+6
2022-01-03Make `Receiver::into_iter` into a clickable linkzohnannor-1/+2
2021-12-20impl RefUnwindSafe for OnceDavid Tolnay-2/+5
2021-11-05Add UnwindSafe to OnceMilo-0/+4
2021-10-30Add #[must_use] to remaining std functions (O-Z)John Kugelman-0/+3
2021-10-26Remove redundant AlignerTony Yang-5/+2
2021-10-21Rollup merge of #87440 - twetzel59:fix-barrier-no-op, r=yaahcYuki Okushi-1/+1
2021-10-11Add #[must_use] to is_condition testsJohn Kugelman-0/+1
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-24Remove unnecessary condition in Barrier::wait()twetzel59-1/+1
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