<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/src/libstd/thread, branch 1.8.0</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=1.8.0</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=1.8.0'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2016-02-29T17:05:33+00:00</updated>
<entry>
<title>std: Stabilize APIs for the 1.8 release</title>
<updated>2016-02-29T17:05:33+00:00</updated>
<author>
<name>Alex Crichton</name>
<email>alex@alexcrichton.com</email>
</author>
<published>2016-02-25T23:52:29+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=b643782a10288a86a500168d754026bd0fce2ab5'/>
<id>urn:sha1:b643782a10288a86a500168d754026bd0fce2ab5</id>
<content type='text'>
This commit is the result of the FCPs ending for the 1.8 release cycle for both
the libs and the lang suteams. The full list of changes are:

Stabilized

* `braced_empty_structs`
* `augmented_assignments`
* `str::encode_utf16` - renamed from `utf16_units`
* `str::EncodeUtf16` - renamed from `Utf16Units`
* `Ref::map`
* `RefMut::map`
* `ptr::drop_in_place`
* `time::Instant`
* `time::SystemTime`
* `{Instant,SystemTime}::now`
* `{Instant,SystemTime}::duration_since` - renamed from `duration_from_earlier`
* `{Instant,SystemTime}::elapsed`
* Various `Add`/`Sub` impls for `Time` and `SystemTime`
* `SystemTimeError`
* `SystemTimeError::duration`
* Various impls for `SystemTimeError`
* `UNIX_EPOCH`
* `ops::{Add,Sub,Mul,Div,Rem,BitAnd,BitOr,BitXor,Shl,Shr}Assign`

Deprecated

* Scoped TLS (the `scoped_thread_local!` macro)
* `Ref::filter_map`
* `RefMut::filter_map`
* `RwLockReadGuard::map`
* `RwLockWriteGuard::map`
* `Condvar::wait_timeout_with`

Closes #27714
Closes #27715
Closes #27746
Closes #27748
Closes #27908
Closes #29866
</content>
</entry>
<entry>
<title>Stop using unsafe code in TLS macro expansion (fixes #30756)</title>
<updated>2016-02-04T16:53:20+00:00</updated>
<author>
<name>Manish Goregaokar</name>
<email>manishsmail@gmail.com</email>
</author>
<published>2016-02-04T12:20:20+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=6c4f0bf79b608a66e617accab4c421a7705456fb'/>
<id>urn:sha1:6c4f0bf79b608a66e617accab4c421a7705456fb</id>
<content type='text'>
</content>
</entry>
<entry>
<title>std: Ignore dtors_in_dtors_in_dtors on OSX</title>
<updated>2016-01-29T21:46:47+00:00</updated>
<author>
<name>Alex Crichton</name>
<email>alex@alexcrichton.com</email>
</author>
<published>2016-01-29T21:46:47+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=b960de0984cec27989746eec6fa706b3a7b46ad3'/>
<id>urn:sha1:b960de0984cec27989746eec6fa706b3a7b46ad3</id>
<content type='text'>
This test has been deadlocking and causing problems on the bots basically since
its inception. Some memory safety issues were fixed in 987dc84b, but the
deadlocks remained afterwards unfortunately.

After some investigation, I've concluded that this is just a situation where OSX
is not guaranteed to run destructors. The fix in 987dc84b observed that OSX was
rewriting the backing TLS memory to its initial state during destruction while
we weren't looking, and this would have the effect of canceling the destructors
of any other initialized TLS slots.

While very difficult to pin down, this is basically what I assume is happening
here, so there doesn't seem to really be anythig we can do to ensure the test
robustly passes on OSX, so just ignore it for now.
</content>
</entry>
<entry>
<title>Replace no_elf_tls with target_thread_local</title>
<updated>2016-01-11T10:38:36+00:00</updated>
<author>
<name>Amanieu d'Antras</name>
<email>amanieu@gmail.com</email>
</author>
<published>2016-01-02T22:50:50+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=e304fb43a3533d9ed79be91e217270747ca50edf'/>
<id>urn:sha1:e304fb43a3533d9ed79be91e217270747ca50edf</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix warnings when compiling stdlib with --test</title>
<updated>2015-12-29T15:07:01+00:00</updated>
<author>
<name>Florian Hahn</name>
<email>flo@fhahn.com</email>
</author>
<published>2015-12-18T12:29:49+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=e27cbeff370897b8450caa204c08049651a10c13'/>
<id>urn:sha1:e27cbeff370897b8450caa204c08049651a10c13</id>
<content type='text'>
</content>
</entry>
<entry>
<title>std: Use cfg(target_thread_local) in thread_local!</title>
<updated>2015-12-22T06:05:37+00:00</updated>
<author>
<name>Alex Crichton</name>
<email>alex@alexcrichton.com</email>
</author>
<published>2015-12-11T20:42:29+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=cd74364e5ddd3e81fa27ea149194966a3a172d9b'/>
<id>urn:sha1:cd74364e5ddd3e81fa27ea149194966a3a172d9b</id>
<content type='text'>
This transitions the standard library's `thread_local!` macro to use the
freshly-added and gated `#[cfg(target_thread_local)]` attribute. This greatly
simplifies the `#[cfg]` logic in play here, but requires that the standard
library expose both the OS and ELF TLS implementation modules as unstable
implementation details.

The implementation details were shuffled around a bit but end up generally
compiling to the same thing.

Closes #26581 (this supersedes the need for the option)
Closes #27057 (this also starts ignoring the option)
</content>
</entry>
<entry>
<title>Auto merge of #30267 - alexcrichton:tls-init-oh-my, r=nikomatsakis</title>
<updated>2015-12-10T18:11:32+00:00</updated>
<author>
<name>bors</name>
<email>bors@rust-lang.org</email>
</author>
<published>2015-12-10T18:11:32+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=ce132752c68aebbaf78125df4266e96e00261d36'/>
<id>urn:sha1:ce132752c68aebbaf78125df4266e96e00261d36</id>
<content type='text'>
Due to #30228 it's not currently sound to do `*ptr = Some(value)`, so instead
use `mem::replace` which fixes the soundness hole for now.
</content>
</entry>
<entry>
<title>std: Rename thread::catch_panic to panic::recover</title>
<updated>2015-12-09T15:19:17+00:00</updated>
<author>
<name>Alex Crichton</name>
<email>alex@alexcrichton.com</email>
</author>
<published>2015-08-31T15:51:53+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=0a13f1abafe70cddf34bf2b2ba3946c418ed6241'/>
<id>urn:sha1:0a13f1abafe70cddf34bf2b2ba3946c418ed6241</id>
<content type='text'>
This commit is an implementation of [RFC 1236] and [RFC 1323] which
rename the `thread::catch_panic` function to `panic::recover` while also
replacing the `Send + 'static` bounds with a new `PanicSafe` bound.

[RFC 1236]: https://github.com/rust-lang/rfcs/pull/1236
[RFC 1323]: https://github.com/rust-lang/rfcs/pull/1323

cc #27719
</content>
</entry>
<entry>
<title>std: Use mem::replace in TLS initialization</title>
<updated>2015-12-08T20:23:22+00:00</updated>
<author>
<name>Alex Crichton</name>
<email>alex@alexcrichton.com</email>
</author>
<published>2015-12-08T15:23:37+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=9e0ff773ad5840af78ef0deeebb7da2f503eca32'/>
<id>urn:sha1:9e0ff773ad5840af78ef0deeebb7da2f503eca32</id>
<content type='text'>
Due to #30228 it's not currently sound to do `*ptr = Some(value)`, so instead
use `mem::replace` which fixes the soundness hole for now.
</content>
</entry>
<entry>
<title>AsRawHandle and IntoRawHandle for JoinHandle</title>
<updated>2015-12-05T01:09:30+00:00</updated>
<author>
<name>Peter Atashian</name>
<email>retep998@gmail.com</email>
</author>
<published>2015-10-29T20:54:09+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=95cdada99a02c5abea4898f46e04f7a271419dac'/>
<id>urn:sha1:95cdada99a02c5abea4898f46e04f7a271419dac</id>
<content type='text'>
This allows users to get the HANDLE of a spawned thread on Windows

Signed-off-by: Peter Atashian &lt;retep998@gmail.com&gt;
</content>
</entry>
</feed>
