<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/src/libstd/thread, branch 1.20.0</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=1.20.0</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=1.20.0'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2017-07-15T06:14:11+00:00</updated>
<entry>
<title>Auto merge of #43185 - durka:thread-local-pub-restricted, r=alexcrichton</title>
<updated>2017-07-15T06:14:11+00:00</updated>
<author>
<name>bors</name>
<email>bors@rust-lang.org</email>
</author>
<published>2017-07-15T06:14:11+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=8658908cf822e9425d0841435c111584750aa236'/>
<id>urn:sha1:8658908cf822e9425d0841435c111584750aa236</id>
<content type='text'>
support pub(restricted) in thread_local! (round 2)

Resurrected #40984 now that the issue blocking it was fixed. Original description:

`pub(restricted)` was stabilized in #40556 so let's go!

Here is a [playground](https://play.rust-lang.org/?gist=f55f32f164a6ed18c219fec8f8293b98&amp;version=nightly&amp;backtrace=1).

I changed the interface of `__thread_local_inner!`, which is supposedly unstable but this is not checked for macros (#34097 cc @petrochenkov @jseyfried), so this may be an issue.
</content>
</entry>
<entry>
<title>Use try_with for with implementation</title>
<updated>2017-07-12T16:55:39+00:00</updated>
<author>
<name>Lee Bousfield</name>
<email>ljbousfield@gmail.com</email>
</author>
<published>2017-07-12T16:55:39+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=a301f84b6afc30c58dede5ddd804890f7a6f20a5'/>
<id>urn:sha1:a301f84b6afc30c58dede5ddd804890f7a6f20a5</id>
<content type='text'>
</content>
</entry>
<entry>
<title>stage0 fallback</title>
<updated>2017-07-11T20:29:16+00:00</updated>
<author>
<name>Alex Burka</name>
<email>alex@alexburka.com</email>
</author>
<published>2017-04-21T04:30:08+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=8e7c4888b717a24dfc68f47c5dde00334fed2317'/>
<id>urn:sha1:8e7c4888b717a24dfc68f47c5dde00334fed2317</id>
<content type='text'>
</content>
</entry>
<entry>
<title>use :vis in thread_local!</title>
<updated>2017-07-11T20:27:55+00:00</updated>
<author>
<name>Alex Burka</name>
<email>alex@alexburka.com</email>
</author>
<published>2017-04-19T02:29:40+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=8cce5bc7aba5b2f4f57df4e108e998b96fa01c8d'/>
<id>urn:sha1:8cce5bc7aba5b2f4f57df4e108e998b96fa01c8d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>support pub(restricted) in thread_local!</title>
<updated>2017-07-11T20:27:54+00:00</updated>
<author>
<name>Alex Burka</name>
<email>aburka@seas.upenn.edu</email>
</author>
<published>2017-04-01T03:06:34+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=b6a2d7e82249bba271599732e16ffba176ae7de8'/>
<id>urn:sha1:b6a2d7e82249bba271599732e16ffba176ae7de8</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix @alexcrichton comments</title>
<updated>2017-07-11T15:04:19+00:00</updated>
<author>
<name>Lee Bousfield</name>
<email>ljbousfield@gmail.com</email>
</author>
<published>2017-07-11T15:04:19+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=8b5549defb629210a8ffc1af08b3209e084fbfd8'/>
<id>urn:sha1:8b5549defb629210a8ffc1af08b3209e084fbfd8</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add LocalKey::try_with as an alternative to state</title>
<updated>2017-07-10T23:26:11+00:00</updated>
<author>
<name>Lee Bousfield</name>
<email>ljbousfield@gmail.com</email>
</author>
<published>2017-07-10T23:26:11+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=32ae12b3d1062babf4f052db42c649e30b11673a'/>
<id>urn:sha1:32ae12b3d1062babf4f052db42c649e30b11673a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Stabilize ThreadId</title>
<updated>2017-06-25T02:19:26+00:00</updated>
<author>
<name>Steven Fackler</name>
<email>sfackler@gmail.com</email>
</author>
<published>2017-06-08T15:41:23+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=dc411e307ac76af0fd2128da5ea12562c84a48c6'/>
<id>urn:sha1:dc411e307ac76af0fd2128da5ea12562c84a48c6</id>
<content type='text'>
Closes #21507
</content>
</entry>
<entry>
<title>rustc: Enable #[thread_local] for Windows</title>
<updated>2017-06-23T23:11:39+00:00</updated>
<author>
<name>Alex Crichton</name>
<email>alex@alexcrichton.com</email>
</author>
<published>2016-02-17T07:07:09+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=06540cb205545e5e7e509933af27142ca35eae17'/>
<id>urn:sha1:06540cb205545e5e7e509933af27142ca35eae17</id>
<content type='text'>
I think LLVM has had support for quite some time now for this, we just never got
around to testing it out and binding it. We've had some trouble landing this in
the past I believe, but it's time to try again!

This commit flags the `#[thread_local]` attribute as being available for Windows
targets and adds an implementation of `register_dtor` in the `thread::local`
module to ensure we can destroy these keys. The same functionality is
implemented in clang via a function called `__tlregdtor` (presumably provided in
some Windows runtime somewhere), but this function unfortunately does not take a
data pointer (just a thunk) which means we can't easily call it. For now
destructors are just run in the same way the Linux fallback is implemented,
which is just keeping track via a single OS-based TLS key.
</content>
</entry>
<entry>
<title>Capture elapsed duration in Thread::park_timeout example</title>
<updated>2017-06-12T04:13:58+00:00</updated>
<author>
<name>Mark Buer</name>
<email>mark@Marks-iMac.local</email>
</author>
<published>2017-06-12T04:03:25+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=0389d40ce0a891bc7d37ca15c12e23df79d71524'/>
<id>urn:sha1:0389d40ce0a891bc7d37ca15c12e23df79d71524</id>
<content type='text'>
</content>
</entry>
</feed>
