<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/src/libstd/sync, branch 1.46.0</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=1.46.0</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=1.46.0'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2020-06-15T10:01:07+00:00</updated>
<entry>
<title>Rollup merge of #73104 - poliorcetics:explicit-mutex-drop-example, r=dtolnay</title>
<updated>2020-06-15T10:01:07+00:00</updated>
<author>
<name>Ralf Jung</name>
<email>post@ralfj.de</email>
</author>
<published>2020-06-15T10:01:07+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=7c8b9413b8ce457b53e2c4ab5f3b9f1ce96195f7'/>
<id>urn:sha1:7c8b9413b8ce457b53e2c4ab5f3b9f1ce96195f7</id>
<content type='text'>
Example about explicit mutex dropping

Fixes #67457.

Following the remarks made in #73074, I added an example on the main `Mutex` type, with a situation where there is mutable data and a computation result.

In my testing it is effectively needed to explicitly drop the lock, else it deadlocks.

r? @dtolnay because you were the one to review the previous PR.
</content>
</entry>
<entry>
<title>Rewrap comments in Mutex example</title>
<updated>2020-06-13T17:11:02+00:00</updated>
<author>
<name>David Tolnay</name>
<email>dtolnay@gmail.com</email>
</author>
<published>2020-06-13T17:11:02+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=c010e711ca5ec02012afb83c0d99aec9d26a9eea'/>
<id>urn:sha1:c010e711ca5ec02012afb83c0d99aec9d26a9eea</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Clarify the scope-related explanation </title>
<updated>2020-06-13T16:43:37+00:00</updated>
<author>
<name>Poliorcetics</name>
<email>poliorcetics@users.noreply.github.com</email>
</author>
<published>2020-06-13T16:43:37+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=34b3ff06e101f60cb69268ee83c93c177b63c322'/>
<id>urn:sha1:34b3ff06e101f60cb69268ee83c93c177b63c322</id>
<content type='text'>
Based on the review made by dtolnay.</content>
</entry>
<entry>
<title>Apply suggestions from code review</title>
<updated>2020-06-13T16:41:01+00:00</updated>
<author>
<name>Poliorcetics</name>
<email>poliorcetics@users.noreply.github.com</email>
</author>
<published>2020-06-13T16:41:01+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=f747073fc1751afd2cfd4395283a4822b618f2da'/>
<id>urn:sha1:f747073fc1751afd2cfd4395283a4822b618f2da</id>
<content type='text'>
Co-authored-by: David Tolnay &lt;dtolnay@gmail.com&gt;</content>
</entry>
<entry>
<title>Migrate to numeric associated consts</title>
<updated>2020-06-10T01:35:47+00:00</updated>
<author>
<name>Lzu Tao</name>
<email>taolzu@gmail.com</email>
</author>
<published>2020-06-02T07:59:11+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=fff822fead6249671cbcb090b24bce58fab38de0'/>
<id>urn:sha1:fff822fead6249671cbcb090b24bce58fab38de0</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Remove a lot of unecessary/duplicated comments</title>
<updated>2020-06-09T20:40:30+00:00</updated>
<author>
<name>Alexis Bourget</name>
<email>alexis.bourget@gmail.com</email>
</author>
<published>2020-06-09T20:40:30+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=1312d30a6a837f72c3f36f5dc1c575a29890aa2c'/>
<id>urn:sha1:1312d30a6a837f72c3f36f5dc1c575a29890aa2c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Simply use drop instead of std::mem::drop</title>
<updated>2020-06-08T14:29:47+00:00</updated>
<author>
<name>Poliorcetics</name>
<email>poliorcetics@users.noreply.github.com</email>
</author>
<published>2020-06-08T14:29:47+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=fdef1a5915332a3f9012b41f4176cf2a16025257'/>
<id>urn:sha1:fdef1a5915332a3f9012b41f4176cf2a16025257</id>
<content type='text'>
Co-authored-by: LeSeulArtichaut &lt;leseulartichaut@gmail.com&gt;</content>
</entry>
<entry>
<title>Improved the example to work with mutable data, providing a reason for the mutex holding it</title>
<updated>2020-06-07T21:42:55+00:00</updated>
<author>
<name>Alexis Bourget</name>
<email>alexis.bourget@gmail.com</email>
</author>
<published>2020-06-07T21:42:55+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=9c8f881ccd050f06387612e4b8aa18111c51a63b'/>
<id>urn:sha1:9c8f881ccd050f06387612e4b8aa18111c51a63b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Added an example where explicitly dropping a lock is necessary/a good idea.</title>
<updated>2020-06-07T21:36:07+00:00</updated>
<author>
<name>Alexis Bourget</name>
<email>alexis.bourget@gmail.com</email>
</author>
<published>2020-06-07T21:36:07+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=95c4899e55e7aab68f06e67660257d73e6a46eda'/>
<id>urn:sha1:95c4899e55e7aab68f06e67660257d73e6a46eda</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Bump to 1.46</title>
<updated>2020-06-03T19:27:51+00:00</updated>
<author>
<name>Mark Rousskov</name>
<email>mark.simulacrum@gmail.com</email>
</author>
<published>2020-06-03T19:15:53+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=71393422495b8d3c7a6e4ded3e64adaec45dca6d'/>
<id>urn:sha1:71393422495b8d3c7a6e4ded3e64adaec45dca6d</id>
<content type='text'>
</content>
</entry>
</feed>
