<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/src/libstd/sync/mpsc/mpsc_queue.rs, branch 1.2.0</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=1.2.0</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=1.2.0'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2015-06-17T16:07:17+00:00</updated>
<entry>
<title>More test fixes and fallout of stability changes</title>
<updated>2015-06-17T16:07:17+00:00</updated>
<author>
<name>Alex Crichton</name>
<email>alex@alexcrichton.com</email>
</author>
<published>2015-06-11T02:33:04+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=b4a2823cd6c6f1a560469587f902f3a1f49d3c79'/>
<id>urn:sha1:b4a2823cd6c6f1a560469587f902f3a1f49d3c79</id>
<content type='text'>
</content>
</entry>
<entry>
<title>std: Split the `std_misc` feature</title>
<updated>2015-06-17T16:06:59+00:00</updated>
<author>
<name>Alex Crichton</name>
<email>alex@alexcrichton.com</email>
</author>
<published>2015-06-10T01:15:22+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=6895311e859e1859f9b3f0adc9f1fbb4d2891534'/>
<id>urn:sha1:6895311e859e1859f9b3f0adc9f1fbb4d2891534</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Squeeze the last bits of `task`s in documentation in favor of `thread`</title>
<updated>2015-05-08T17:24:18+00:00</updated>
<author>
<name>Barosl Lee</name>
<email>vcs@barosl.com</email>
</author>
<published>2015-05-08T15:12:29+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=ff332b6467b2b93831c3f0ae3665e920ec725959'/>
<id>urn:sha1:ff332b6467b2b93831c3f0ae3665e920ec725959</id>
<content type='text'>
An automated script was run against the `.rs` and `.md` files,
subsituting every occurrence of `task` with `thread`. In the `.rs`
files, only the texts in the comment blocks were affected.
</content>
</entry>
<entry>
<title>Register new snapshots</title>
<updated>2015-04-29T00:23:45+00:00</updated>
<author>
<name>Tamir Duberstein</name>
<email>tamird@gmail.com</email>
</author>
<published>2015-04-27T21:10:49+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=69abc12b0044d641e714bdd73a299cfa4136b7b8'/>
<id>urn:sha1:69abc12b0044d641e714bdd73a299cfa4136b7b8</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Test fixes and rebase conflicts, round 2</title>
<updated>2015-04-02T01:38:24+00:00</updated>
<author>
<name>Alex Crichton</name>
<email>alex@alexcrichton.com</email>
</author>
<published>2015-04-01T23:34:15+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=57f5ac948aeb296b99785a82ffc49fafc291aad9'/>
<id>urn:sha1:57f5ac948aeb296b99785a82ffc49fafc291aad9</id>
<content type='text'>
</content>
</entry>
<entry>
<title>rollup merge of #23176: huonw/rm-bounds</title>
<updated>2015-04-02T01:38:19+00:00</updated>
<author>
<name>Alex Crichton</name>
<email>alex@alexcrichton.com</email>
</author>
<published>2015-04-02T01:38:19+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=d49b67e255db86a5df952b33f4140150fc12bf4d'/>
<id>urn:sha1:d49b67e255db86a5df952b33f4140150fc12bf4d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Added `T:Send` bound to `Queue&lt;T&gt;` to avoid specialized Drop impl.</title>
<updated>2015-03-24T21:27:23+00:00</updated>
<author>
<name>Felix S. Klock II</name>
<email>pnkfelix@pnkfx.org</email>
</author>
<published>2015-03-21T12:22:21+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=1249e6089180211c18fdc381a464274ec95edb25'/>
<id>urn:sha1:1249e6089180211c18fdc381a464274ec95edb25</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Remove unneeded `Send` bounds from `std::sync::mpsc`.</title>
<updated>2015-03-08T11:16:32+00:00</updated>
<author>
<name>Huon Wilson</name>
<email>dbau.pp+github@gmail.com</email>
</author>
<published>2015-03-08T11:02:21+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=0f6b43aa8f288d3d12adc8747fb5060956d7f0e5'/>
<id>urn:sha1:0f6b43aa8f288d3d12adc8747fb5060956d7f0e5</id>
<content type='text'>
The requirements `T: Send` only matter if the channel crosses thread
boundaries i.e. the `Sender` or `Reciever` are sent across thread
boundaries, and which is adequately controlled by the impls of `Send`
for them. If `T` doesn't satisfy the bounds, then the types cannot cross
thread boundaries and so everything is still safe (the pair of types
collectively behave like a `Rc&lt;RefCell&lt;VecDeque&gt;&gt;`, or something of that
nature).
</content>
</entry>
<entry>
<title>Add `: Box&lt;_&gt;` or `::Box&lt;_&gt;` type annotations to various places.</title>
<updated>2015-03-03T19:29:01+00:00</updated>
<author>
<name>Felix S. Klock II</name>
<email>pnkfelix@pnkfx.org</email>
</author>
<published>2015-02-17T20:41:32+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=270f0eef733a625bcee68019189f19dc119f8f24'/>
<id>urn:sha1:270f0eef733a625bcee68019189f19dc119f8f24</id>
<content type='text'>
This is the kind of change that one is expected to need to make to
accommodate overloaded-`box`.

----

Note that this is not *all* of the changes necessary to accommodate
Issue 22181.  It is merely the subset of those cases where there was
already a let-binding in place that made it easy to add the necesasry
type ascription.

(For unnamed intermediate `Box` values, one must go down a different
route; `Box::new` is the option that maximizes portability, but has
potential inefficiency depending on whether the call is inlined.)

----

There is one place worth note, `run-pass/coerce-match.rs`, where I
used an ugly form of `Box&lt;_&gt;` type ascription where I would have
preferred to use `Box::new` to accommodate overloaded-`box`.  I
deliberately did not use `Box::new` here, because that is already done
in coerce-match-calls.rs.

----

Precursor for overloaded-`box` and placement-`in`; see Issue 22181.
</content>
</entry>
<entry>
<title>Use boxed functions instead of transmute</title>
<updated>2015-02-22T23:59:17+00:00</updated>
<author>
<name>Stepan Koltsov</name>
<email>stepan.koltsov@gmail.com</email>
</author>
<published>2015-02-22T23:58:22+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=26d9f0ab1aeb3d7b440911104cf17741f83aa0f5'/>
<id>urn:sha1:26d9f0ab1aeb3d7b440911104cf17741f83aa0f5</id>
<content type='text'>
... to convert between Box and raw pointers. E. g. use

```
let b: Box&lt;Foo&gt; = Box::from_raw(p);
```

instead of

```
let b: Box&lt;Foo&gt; = mem::transmute(p);
```

Patch also changes closure release code in `src/libstd/sys/unix/thread.rs`
when `pthread_create` failed. Raw pointer was transmuted to box of
`FnOnce()` instead of `Thunk`. This code was probably never executed,
because `pthread_create` rarely fails in practice.
</content>
</entry>
</feed>
