<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/src/libstd/thread, branch 1.30.0</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=1.30.0</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=1.30.0'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2018-08-28T08:49:45+00:00</updated>
<entry>
<title>split paragraph</title>
<updated>2018-08-28T08:49:45+00:00</updated>
<author>
<name>Ralf Jung</name>
<email>post@ralfj.de</email>
</author>
<published>2018-08-28T08:49:45+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=31b63d0ca8b117217c1612826a7ce2786b509c6c'/>
<id>urn:sha1:31b63d0ca8b117217c1612826a7ce2786b509c6c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>document effect of join on memory ordering</title>
<updated>2018-08-15T13:22:54+00:00</updated>
<author>
<name>Ralf Jung</name>
<email>post@ralfj.de</email>
</author>
<published>2018-08-15T13:22:54+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=34b65db8420ecfec94126483c7c170c270fd2ead'/>
<id>urn:sha1:34b65db8420ecfec94126483c7c170c270fd2ead</id>
<content type='text'>
</content>
</entry>
<entry>
<title>avoid using the word 'initialized' to talk about that non-reentrant-capable state of the mutex</title>
<updated>2018-08-08T16:12:33+00:00</updated>
<author>
<name>Ralf Jung</name>
<email>post@ralfj.de</email>
</author>
<published>2018-08-08T16:12:33+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=31bec788f46c73ab14c72868dc6141141320a058'/>
<id>urn:sha1:31bec788f46c73ab14c72868dc6141141320a058</id>
<content type='text'>
</content>
</entry>
<entry>
<title>actually, reentrant uninitialized mutex acquisition is outright UB</title>
<updated>2018-08-06T12:39:55+00:00</updated>
<author>
<name>Ralf Jung</name>
<email>post@ralfj.de</email>
</author>
<published>2018-08-06T12:39:55+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=645388583ca47357a6a2e5878a9cde84e2e579d3'/>
<id>urn:sha1:645388583ca47357a6a2e5878a9cde84e2e579d3</id>
<content type='text'>
</content>
</entry>
<entry>
<title>clarify partially initialized Mutex issues</title>
<updated>2018-08-06T10:54:44+00:00</updated>
<author>
<name>Ralf Jung</name>
<email>post@ralfj.de</email>
</author>
<published>2018-08-06T10:45:27+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=d3d31105e99f5265880d0f010436ed5c6baab034'/>
<id>urn:sha1:d3d31105e99f5265880d0f010436ed5c6baab034</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Rollup merge of #52771 - matklad:patch-1, r=kennytm</title>
<updated>2018-08-01T08:12:38+00:00</updated>
<author>
<name>Pietro Albini</name>
<email>pietro@pietroalbini.org</email>
</author>
<published>2018-08-01T08:12:38+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=06b91a4901621455999ff77f1b63c8c64f4eae56'/>
<id>urn:sha1:06b91a4901621455999ff77f1b63c8c64f4eae56</id>
<content type='text'>
Clarify thread::park semantics

It took me quite some time to realize that the example is not actually racy, so let's clarify it? :-)
</content>
</entry>
<entry>
<title>Rollup merge of #52759 - stjepang:impl-send-sync-for-joinhandle, r=TimNN</title>
<updated>2018-07-28T08:24:59+00:00</updated>
<author>
<name>kennytm</name>
<email>kennytm@gmail.com</email>
</author>
<published>2018-07-28T08:24:59+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=b326319f156dc1aea0b3389eeee4e8ef1b073c2a'/>
<id>urn:sha1:b326319f156dc1aea0b3389eeee4e8ef1b073c2a</id>
<content type='text'>
Impl Send &amp; Sync for JoinHandle

This is just a cosmetic change - it slightly relaxes and clarifies the public API without effectively promising any new guarantees.

Currently we have [these auto trait implementations](https://doc.rust-lang.org/nightly/std/thread/struct.JoinHandle.html#synthetic-implementations):

```rust
impl&lt;T: Send&gt; Send for JoinHandle&lt;T&gt; {}
impl&lt;T: Sync&gt; Sync for JoinHandle&lt;T&gt; {}
```

Bound `T: Send` doesn't make much sense because `JoinHandle&lt;T&gt;` can be created only when `T: Send`. Note that [`JoinHandle::&lt;T&gt;::join`](https://doc.rust-lang.org/nightly/std/thread/struct.JoinHandle.html#method.join) doesn't require `T: Send` so why should the `Send` impl?

And the `Sync` impl doesn't need `T: Sync` because `JoinHandle&lt;T&gt;` cannot even share `T` - it can only send it to the thread that calls `join`.
</content>
</entry>
<entry>
<title>Fix ws</title>
<updated>2018-07-27T11:44:20+00:00</updated>
<author>
<name>Aleksey Kladov</name>
<email>aleksey.kladov@gmail.com</email>
</author>
<published>2018-07-27T11:44:20+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=5f87f78b148c1825b92514580f47866c5ae67fbb'/>
<id>urn:sha1:5f87f78b148c1825b92514580f47866c5ae67fbb</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Clarify thread::park semantics</title>
<updated>2018-07-27T11:01:42+00:00</updated>
<author>
<name>Aleksey Kladov</name>
<email>aleksey.kladov@gmail.com</email>
</author>
<published>2018-07-27T11:01:42+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=922bf1d2acf7b779fddd1bc05415d4d9052f9ec2'/>
<id>urn:sha1:922bf1d2acf7b779fddd1bc05415d4d9052f9ec2</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add stability attributes</title>
<updated>2018-07-27T08:08:02+00:00</updated>
<author>
<name>Stjepan Glavina</name>
<email>stjepang@gmail.com</email>
</author>
<published>2018-07-27T08:08:02+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=688db1df80b9754c28b79abb141e381861402fca'/>
<id>urn:sha1:688db1df80b9754c28b79abb141e381861402fca</id>
<content type='text'>
</content>
</entry>
</feed>
