<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/src/libstd/sync, branch 1.0.0-beta</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=1.0.0-beta</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=1.0.0-beta'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2015-04-02T01:38:24+00:00</updated>
<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>rollup merge of #23949: aturon/stab-timeout</title>
<updated>2015-04-01T20:56:20+00:00</updated>
<author>
<name>Alex Crichton</name>
<email>alex@alexcrichton.com</email>
</author>
<published>2015-04-01T20:56:20+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=655634e6ab00707ef98034dcfb32000cbfa7a01c'/>
<id>urn:sha1:655634e6ab00707ef98034dcfb32000cbfa7a01c</id>
<content type='text'>
This commit renames and stabilizes:

* `Condvar::wait_timeout_ms` (renamed from `wait_timeout`)
* `thread::park_timeout_ms` (renamed from `park_timeout`)
* `thread::sleep_ms` (renamed from `sleep`)

In each case, the timeout is taken as a `u32` number of milliseconds,
rather than a `Duration`.

These functions are likely to be deprecated once a stable form of
`Duration` is available, but there is little cost to having these named
variants around, and it's crucial functionality for 1.0.

[breaking-change]

r? @alexcrichton

cc @sfackler @carllerche
</content>
</entry>
<entry>
<title>Stabilize basic timeout functionality</title>
<updated>2015-04-01T20:43:45+00:00</updated>
<author>
<name>Aaron Turon</name>
<email>aturon@mozilla.com</email>
</author>
<published>2015-04-01T19:20:57+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=371277fb0d210152eb8c79e30bd7f7749c5af63c'/>
<id>urn:sha1:371277fb0d210152eb8c79e30bd7f7749c5af63c</id>
<content type='text'>
This commit renames and stabilizes:

* `Condvar::wait_timeout_ms` (renamed from `wait_timeout`)
* `thread::park_timeout_ms` (renamed from `park_timeout`)
* `thread::sleep_ms` (renamed from `sleep`)

In each case, the timeout is taken as a `u32` number of milliseconds,
rather than a `Duration`.

These functions are likely to be deprecated once a stable form of
`Duration` is available, but there is little cost to having these named
variants around, and it's crucial functionality for 1.0.

[breaking-change]
</content>
</entry>
<entry>
<title>Remove `Thunk` struct and `Invoke` trait; change `Thunk` to be an alias</title>
<updated>2015-04-01T18:41:21+00:00</updated>
<author>
<name>Niko Matsakis</name>
<email>niko@alum.mit.edu</email>
</author>
<published>2015-04-01T15:12:30+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=cade32acf6f5ff209ee082d70350d9bc0362985a'/>
<id>urn:sha1:cade32acf6f5ff209ee082d70350d9bc0362985a</id>
<content type='text'>
for `Box&lt;FnBox()&gt;`. I found the alias was still handy because it is
shorter than the fully written type.

This is a [breaking-change]: convert code using `Invoke` to use `FnBox`,
which is usually pretty straight-forward. Code using thunk mostly works
if you change `Thunk::new =&gt; Box::new` and `foo.invoke(arg)` to
`foo(arg)`.
</content>
</entry>
<entry>
<title>rollup merge of #23873: alexcrichton/remove-deprecated</title>
<updated>2015-03-31T22:54:44+00:00</updated>
<author>
<name>Alex Crichton</name>
<email>alex@alexcrichton.com</email>
</author>
<published>2015-03-31T18:34:17+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=554946c81eeb4fcfceda782f6c5af394ab3fe8d3'/>
<id>urn:sha1:554946c81eeb4fcfceda782f6c5af394ab3fe8d3</id>
<content type='text'>
Conflicts:
	src/libcollectionstest/fmt.rs
	src/libcollectionstest/lib.rs
	src/libcollectionstest/str.rs
	src/libcore/error.rs
	src/libstd/fs.rs
	src/libstd/io/cursor.rs
	src/libstd/os.rs
	src/libstd/process.rs
	src/libtest/lib.rs
	src/test/run-pass-fulldeps/compiler-calls.rs
</content>
</entry>
<entry>
<title>rollup merge of #23879: seanmonstar/del-from-error</title>
<updated>2015-03-31T22:53:39+00:00</updated>
<author>
<name>Alex Crichton</name>
<email>alex@alexcrichton.com</email>
</author>
<published>2015-03-31T18:27:21+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=e10ee2c8572421c056ea68e6656fee936e0330d8'/>
<id>urn:sha1:e10ee2c8572421c056ea68e6656fee936e0330d8</id>
<content type='text'>
Conflicts:
	src/libcore/error.rs
</content>
</entry>
<entry>
<title>std: Clean out #[deprecated] APIs</title>
<updated>2015-03-31T22:49:57+00:00</updated>
<author>
<name>Alex Crichton</name>
<email>alex@alexcrichton.com</email>
</author>
<published>2015-03-30T18:00:05+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=d4a2c941809f303b97d153e06ba07e95cd245f88'/>
<id>urn:sha1:d4a2c941809f303b97d153e06ba07e95cd245f88</id>
<content type='text'>
This commit cleans out a large amount of deprecated APIs from the standard
library and some of the facade crates as well, updating all users in the
compiler and in tests as it goes along.
</content>
</entry>
<entry>
<title>Indicate select! is code-like</title>
<updated>2015-03-31T14:32:53+00:00</updated>
<author>
<name>Corey Farwell</name>
<email>coreyf@rwell.org</email>
</author>
<published>2015-03-31T14:32:53+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=5872ae4a7a76ba67e702323d2de09a86fb5ba692'/>
<id>urn:sha1:5872ae4a7a76ba67e702323d2de09a86fb5ba692</id>
<content type='text'>
</content>
</entry>
<entry>
<title>convert: remove FromError, use From&lt;E&gt; instead</title>
<updated>2015-03-31T01:08:58+00:00</updated>
<author>
<name>Sean McArthur</name>
<email>sean.monstar@gmail.com</email>
</author>
<published>2015-03-31T00:56:48+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=e17f4fc1d4545f5c17b21805c5145b05495484ee'/>
<id>urn:sha1:e17f4fc1d4545f5c17b21805c5145b05495484ee</id>
<content type='text'>
This removes the FromError trait, since it can now be expressed using
the new convert::Into trait. All implementations of FromError&lt;E&gt; where
changed to From&lt;E&gt;, and `try!` was changed to use From::from instead.

Because this removes FromError, it is a breaking change, but fixing it
simply requires changing the words `FromError` to `From`, and
`from_error` to `from`.

[breaking-change]
</content>
</entry>
</feed>
