<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/src/libstd/sync, branch 0.11.0</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=0.11.0</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=0.11.0'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2014-06-25T00:18:48+00:00</updated>
<entry>
<title>librustc: Remove the fallback to `int` from typechecking.</title>
<updated>2014-06-25T00:18:48+00:00</updated>
<author>
<name>Niko Matsakis</name>
<email>niko@alum.mit.edu</email>
</author>
<published>2014-04-21T21:58:52+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=9e3d0b002a5c2e81d43351c9b8550a3f4ccfb8f9'/>
<id>urn:sha1:9e3d0b002a5c2e81d43351c9b8550a3f4ccfb8f9</id>
<content type='text'>
This breaks a fair amount of code. The typical patterns are:

* `for _ in range(0, 10)`: change to `for _ in range(0u, 10)`;

* `println!("{}", 3)`: change to `println!("{}", 3i)`;

* `[1, 2, 3].len()`: change to `[1i, 2, 3].len()`.

RFC #30. Closes #6023.

[breaking-change]
</content>
</entry>
<entry>
<title>std::sync::TaskPool: Improve module documentation</title>
<updated>2014-06-20T03:17:49+00:00</updated>
<author>
<name>Alexandre Gagnon</name>
<email>alxgnon@gmail.com</email>
</author>
<published>2014-06-20T03:17:49+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=af520e133c24f9409f85ac91b0b8bbf033ec0b7a'/>
<id>urn:sha1:af520e133c24f9409f85ac91b0b8bbf033ec0b7a</id>
<content type='text'>
The struct and module doc comments are reformulated. The `execute`
method's documentation are put up to date, and failure information
is added. A test is also added to address the possible failure.
</content>
</entry>
<entry>
<title>std: Don't fail the task when a Future is dropped</title>
<updated>2014-06-17T01:16:14+00:00</updated>
<author>
<name>Alex Crichton</name>
<email>alex@alexcrichton.com</email>
</author>
<published>2014-06-16T20:24:31+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=01dc27a219435714ec38d0a2ddd1594d96e4da72'/>
<id>urn:sha1:01dc27a219435714ec38d0a2ddd1594d96e4da72</id>
<content type='text'>
It's a benign failure that no one needs to know about.

Closes #14892
</content>
</entry>
<entry>
<title>sync: Move underneath libstd</title>
<updated>2014-06-11T17:00:43+00:00</updated>
<author>
<name>Alex Crichton</name>
<email>alex@alexcrichton.com</email>
</author>
<published>2014-06-07T18:13:26+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=b1c9ce9c6f0eb7d4a7df1aad6b6799f4b548181c'/>
<id>urn:sha1:b1c9ce9c6f0eb7d4a7df1aad6b6799f4b548181c</id>
<content type='text'>
This commit is the final step in the libstd facade, #13851. The purpose of this
commit is to move libsync underneath the standard library, behind the facade.
This will allow core primitives like channels, queues, and atomics to all live
in the same location.

There were a few notable changes and a few breaking changes as part of this
movement:

* The `Vec` and `String` types are reexported at the top level of libcollections
* The `unreachable!()` macro was copied to libcore
* The `std::rt::thread` module was moved to librustrt, but it is still
  reexported at the same location.
* The `std::comm` module was moved to libsync
* The `sync::comm` module was moved under `sync::comm`, and renamed to `duplex`.
  It is now a private module with types/functions being reexported under
  `sync::comm`. This is a breaking change for any existing users of duplex
  streams.
* All concurrent queues/deques were moved directly under libsync. They are also
  all marked with #![experimental] for now if they are public.
* The `task_pool` and `future` modules no longer live in libsync, but rather
  live under `std::sync`. They will forever live at this location, but they may
  move to libsync if the `std::task` module moves as well.

[breaking-change]
</content>
</entry>
<entry>
<title>std: Deal with fallout of rtio changes</title>
<updated>2014-06-07T05:19:57+00:00</updated>
<author>
<name>Alex Crichton</name>
<email>alex@alexcrichton.com</email>
</author>
<published>2014-06-04T03:09:39+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=da2293c6f6ea9291749f51a4608d50585be835f0'/>
<id>urn:sha1:da2293c6f6ea9291749f51a4608d50585be835f0</id>
<content type='text'>
</content>
</entry>
<entry>
<title>std: Rename {Eq,Ord} to Partial{Eq,Ord}</title>
<updated>2014-05-30T22:52:24+00:00</updated>
<author>
<name>Alex Crichton</name>
<email>alex@alexcrichton.com</email>
</author>
<published>2014-05-30T00:45:07+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=748bc3ca49de8ab0b890726120c40567094e43fc'/>
<id>urn:sha1:748bc3ca49de8ab0b890726120c40567094e43fc</id>
<content type='text'>
This is part of the ongoing renaming of the equality traits. See #12517 for more
details. All code using Eq/Ord will temporarily need to move to Partial{Eq,Ord}
or the Total{Eq,Ord} traits. The Total traits will soon be renamed to {Eq,Ord}.

cc #12517

[breaking-change]
</content>
</entry>
<entry>
<title>std: minor simplification to sync::deque.</title>
<updated>2014-05-24T11:44:37+00:00</updated>
<author>
<name>Huon Wilson</name>
<email>dbau.pp+github@gmail.com</email>
</author>
<published>2014-05-23T15:07:05+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=9a8379deb296b7a8b543fca635c52307d13f6daf'/>
<id>urn:sha1:9a8379deb296b7a8b543fca635c52307d13f6daf</id>
<content type='text'>
</content>
</entry>
<entry>
<title>std,green: Mark some queue types as NoShare</title>
<updated>2014-05-21T23:36:57+00:00</updated>
<author>
<name>Alex Crichton</name>
<email>alex@alexcrichton.com</email>
</author>
<published>2014-05-21T01:54:31+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=fdf935a5249edd0be0f14385a099963e43c7a29b'/>
<id>urn:sha1:fdf935a5249edd0be0f14385a099963e43c7a29b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>std: Remove UnsafeArc</title>
<updated>2014-05-20T01:12:18+00:00</updated>
<author>
<name>Alex Crichton</name>
<email>alex@alexcrichton.com</email>
</author>
<published>2014-05-20T00:51:50+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=4c8a4d241a984fdc0b8a015dceca2a006f2b7146'/>
<id>urn:sha1:4c8a4d241a984fdc0b8a015dceca2a006f2b7146</id>
<content type='text'>
This type has been superseded by Arc&lt;Unsafe&lt;T&gt;&gt;. The UnsafeArc type is a relic
of an era that has long since past, and with the introduction of liballoc the
standard library is able to use the Arc smart pointer. With little need left for
UnsafeArc, it was removed.

All existing code using UnsafeArc should either be reevaluated to whether it can
use only Arc, or it should transition to Arc&lt;Unsafe&lt;T&gt;&gt;

[breaking-change]
</content>
</entry>
<entry>
<title>std: Move comm primitives away from UnsafeArc</title>
<updated>2014-05-20T00:50:57+00:00</updated>
<author>
<name>Alex Crichton</name>
<email>alex@alexcrichton.com</email>
</author>
<published>2014-05-20T00:50:57+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=73729e94c87281dd7193dbdc86b4de2963b8fd72'/>
<id>urn:sha1:73729e94c87281dd7193dbdc86b4de2963b8fd72</id>
<content type='text'>
They currently still use `&amp;mut self`, this migration was aimed towards moving
from UnsafeArc&lt;T&gt; to Arc&lt;Unsafe&lt;T&gt;&gt;
</content>
</entry>
</feed>
