<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/src/libsync/sync, branch try</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=try</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=try'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2014-03-23T16:45:20+00:00</updated>
<entry>
<title>sync: Rewrite the base primitives</title>
<updated>2014-03-23T16:45:20+00:00</updated>
<author>
<name>Alex Crichton</name>
<email>alex@alexcrichton.com</email>
</author>
<published>2014-03-22T07:50:19+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=ae049e82f876e335b835edb674228090d84f811e'/>
<id>urn:sha1:ae049e82f876e335b835edb674228090d84f811e</id>
<content type='text'>
This commit rewrites the core primitives of the sync library: Mutex, RWLock, and
Semaphore. These primitives now have updated, more modernized apis:

* Guards are returned instead of locking with closures. All condition variables
  have moved inside the guards and extraneous methods have been removed.
* Downgrading on an rwlock is now done through the guard instead of the rwlock
  itself.

These types are meant to be general locks, not locks of an internal type (for
external usage). New types will be introduced for locking shared data.
</content>
</entry>
<entry>
<title>sync: Move Once to using &amp;self</title>
<updated>2014-03-23T16:45:20+00:00</updated>
<author>
<name>Alex Crichton</name>
<email>alex@alexcrichton.com</email>
</author>
<published>2014-03-22T07:49:16+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=53e451f4106c0eb6614b4c534744e81c6100cbbd'/>
<id>urn:sha1:53e451f4106c0eb6614b4c534744e81c6100cbbd</id>
<content type='text'>
Similarly to the rest of the previous commits, this moves the once primitive to
using &amp;self instead of &amp;mut self for proper sharing among many threads now.
</content>
</entry>
<entry>
<title>sync: Move the Mutex type to using &amp;self</title>
<updated>2014-03-23T16:45:20+00:00</updated>
<author>
<name>Alex Crichton</name>
<email>alex@alexcrichton.com</email>
</author>
<published>2014-03-22T07:47:43+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=3572a30e7a4fec7f0bb0957fc72588757111f14e'/>
<id>urn:sha1:3572a30e7a4fec7f0bb0957fc72588757111f14e</id>
<content type='text'>
This also uses the Unsafe type for any interior mutability in the type to avoid
transmutes.
</content>
</entry>
<entry>
<title>sync: Move the concurrent queue to using &amp;self</title>
<updated>2014-03-23T16:45:19+00:00</updated>
<author>
<name>Alex Crichton</name>
<email>alex@alexcrichton.com</email>
</author>
<published>2014-03-22T07:46:57+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=d6b3f1f231350798f019fdb09f6c4979fb23b8d4'/>
<id>urn:sha1:d6b3f1f231350798f019fdb09f6c4979fb23b8d4</id>
<content type='text'>
This commit also lifts it up a level in the module hierarchy in the soon-to-come
reorganization of libsync.
</content>
</entry>
<entry>
<title>Remove outdated and unnecessary std::vec_ng::Vec imports.</title>
<updated>2014-03-21T14:08:57+00:00</updated>
<author>
<name>Huon Wilson</name>
<email>dbau.pp+github@gmail.com</email>
</author>
<published>2014-03-21T11:37:41+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=6d778ff61058a18978a0c24d61f6a84e57138fa4'/>
<id>urn:sha1:6d778ff61058a18978a0c24d61f6a84e57138fa4</id>
<content type='text'>
(And fix some tests.)
</content>
</entry>
<entry>
<title>test: Make manual changes to deal with the fallout from removal of</title>
<updated>2014-03-21T12:37:21+00:00</updated>
<author>
<name>Patrick Walton</name>
<email>pcwalton@mimiga.net</email>
</author>
<published>2014-03-05T23:28:08+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=af79a5aa7da4f42fc0939a19f46fa73b894d6e9a'/>
<id>urn:sha1:af79a5aa7da4f42fc0939a19f46fa73b894d6e9a</id>
<content type='text'>
`~[T]` in test, libgetopts, compiletest, librustdoc, and libnum.
</content>
</entry>
<entry>
<title>std: Rename Chan/Port types and constructor</title>
<updated>2014-03-13T20:23:29+00:00</updated>
<author>
<name>Alex Crichton</name>
<email>alex@alexcrichton.com</email>
</author>
<published>2014-03-09T21:58:32+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=78580651131c9daacd7e5e4669af819cdd719f09'/>
<id>urn:sha1:78580651131c9daacd7e5e4669af819cdd719f09</id>
<content type='text'>
* Chan&lt;T&gt; =&gt; Sender&lt;T&gt;
* Port&lt;T&gt; =&gt; Receiver&lt;T&gt;
* Chan::new() =&gt; channel()
* constructor returns (Sender, Receiver) instead of (Receiver, Sender)
* local variables named `port` renamed to `rx`
* local variables named `chan` renamed to `tx`

Closes #11765
</content>
</entry>
<entry>
<title>fix typos with with repeated words, just like this sentence.</title>
<updated>2014-03-06T11:19:14+00:00</updated>
<author>
<name>Kang Seonghoon</name>
<email>public+git@mearie.org</email>
</author>
<published>2014-03-06T07:35:12+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=1c52c81846246e135557f1aa6db5bef4140c8717'/>
<id>urn:sha1:1c52c81846246e135557f1aa6db5bef4140c8717</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Rename all variables that have uppercase characters in their names to use only lowercase characters</title>
<updated>2014-03-05T02:23:36+00:00</updated>
<author>
<name>Palmer Cox</name>
<email>p@lmercox.com</email>
</author>
<published>2014-02-15T21:15:03+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=6d9bdf975aba3cd2f571f4e3695136f2ee85f37f'/>
<id>urn:sha1:6d9bdf975aba3cd2f571f4e3695136f2ee85f37f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Cleaned up `std::any`</title>
<updated>2014-03-04T20:10:23+00:00</updated>
<author>
<name>Marvin Löbel</name>
<email>loebel.marvin@gmail.com</email>
</author>
<published>2014-03-03T00:01:13+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=3158047a459b6d60d0f8f6bf5c299db0910e029a'/>
<id>urn:sha1:3158047a459b6d60d0f8f6bf5c299db0910e029a</id>
<content type='text'>
- Added `TraitObject` representation to `std::raw`.
- Added doc to `std::raw`.
- Removed `Any::as_void_ptr()` and `Any::as_mut_void_ptr()`
  methods as they are uneccessary now after the removal of
  headers on owned boxes. This reduces the number of virtual calls needed.
- Made the `..Ext` implementations work directly with the repr of
  a trait object.
- Removed `Any`-related traits from the prelude.

- Added bench for `Any`
</content>
</entry>
</feed>
