summary refs log tree commit diff
path: root/src/libstd/sync
AgeCommit message (Expand)AuthorLines
2020-06-15Rollup merge of #73104 - poliorcetics:explicit-mutex-drop-example, r=dtolnayRalf Jung-0/+54
2020-06-13Rewrap comments in Mutex exampleDavid Tolnay-11/+11
2020-06-13Clarify the scope-related explanation Poliorcetics-3/+2
2020-06-13Apply suggestions from code reviewPoliorcetics-5/+5
2020-06-10Migrate to numeric associated constsLzu Tao-3/+1
2020-06-09Remove a lot of unecessary/duplicated commentsAlexis Bourget-11/+3
2020-06-08Simply use drop instead of std::mem::dropPoliorcetics-2/+2
2020-06-07Improved the example to work with mutable data, providing a reason for the mu...Alexis Bourget-4/+6
2020-06-07Added an example where explicitly dropping a lock is necessary/a good idea.Alexis Bourget-0/+61
2020-06-03Bump to 1.46Mark Rousskov-10/+2
2020-05-24Fix typo in doc comment.Eitan Mosenkis-1/+1
2020-05-17make abort intrinsic safe, and correct its documentationRalf Jung-0/+4
2020-05-03Rollup merge of #71398 - ThinkChaos:feat_refcell_take, r=LukasKalbertodtDylan DPC-1/+1
2020-04-26Use Cell::take in a couple placesThinkChaos-1/+1
2020-04-26fix more clippy warningsMatthias Krüger-1/+1
2020-04-24Avoid unused Option::map resultsJosh Stone-5/+11
2020-04-22More diagnostic items for Clippy usagePhilipp Hansch-0/+1
2020-04-16Dogfood or_patterns in the standard libraryJosh Stone-2/+2
2020-04-05Stop importing integer modules in libstdLinus Färnstrand-3/+0
2020-03-15Fix "since" field for `Once::is_complete`'s `#[stable]` attributeLukas Kalbertodt-1/+1
2020-03-07Rollup merge of #69773 - matthiaskrgr:typos, r=petrochenkovMazdak Farrokhzad-1/+1
2020-03-06Don't redundantly repeat field names (clippy::redundant_field_names)Matthias Krüger-6/+3
2020-03-06fix various typosMatthias Krüger-1/+1
2020-02-07Stabilize Once::is_completedMichael Bradshaw-6/+5
2020-01-14Auto merge of #67076 - mbrubeck:condvar, r=dtolnaybors-43/+34
2020-01-08Use matches macro in libcore and libstdIgor Aleksanov-10/+2
2019-12-28Rollup merge of #67632 - kraai:remove-collapsed-reference-links, r=steveklabnikOliver Scherer-5/+5
2019-12-26Rename wait_until/wait_timeout_until to wait_while/white_timeout_whileMatt Brubeck-36/+32
2019-12-26Stabilize Condvar::wait_until and wait_timeout_untilMatt Brubeck-7/+2
2019-12-26Convert collapsed to shortcut reference linksMatthew Kraai-5/+5
2019-12-26Remove redundant link textsMatthew Kraai-1/+1
2019-12-24Deprecate Error::description for realDavid Tolnay-0/+5
2019-12-22Format the worldMark Rousskov-112/+121
2019-12-18Propagate cfg bootstrapMark Rousskov-1/+1
2019-12-13Require stable/unstable annotations for the constness of all stable functions...Oliver Scherer-0/+1
2019-12-06get rid of __ in field namesRalf Jung-26/+24
2019-11-29Format libstd with rustfmtDavid Tolnay-485/+499
2019-11-09Run rustfmt on libstd/sync/once.rsPaul Dicker-32/+29
2019-11-05Don't mutate node.nextPaul Dicker-36/+34
2019-10-25Mention park guaranteePaul Dicker-0/+4
2019-10-24Always align Waiter to 4 bytesPaul Dicker-0/+1
2019-10-24Use more precise atomic orderingsPaul Dicker-12/+41
2019-10-24In Waiter use interior mutability for threadPaul Dicker-9/+19
2019-10-24Reduce the amount of comments in call_innerPaul Dicker-19/+6
2019-10-24Move thread parking to a seperate functionPaul Dicker-38/+42
2019-10-24Turn Finish into WaiterQueuePaul Dicker-23/+21
2019-10-23Don't mutate waiter nodesPaul Dicker-9/+9
2019-10-23Simplify loop conditions in RUNNING and add commentsPaul Dicker-17/+29
2019-10-23Rename state to state_and_queuePaul Dicker-28/+29
2019-10-16Don't recommend ONCE_INIT in std::sync::Onceboyned//Kampfkarren-3/+2