<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/src/libstd/sync, branch perf-tmp</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=perf-tmp</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=perf-tmp'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2020-07-28T00:51:13+00:00</updated>
<entry>
<title>mv std libs to library/</title>
<updated>2020-07-28T00:51:13+00:00</updated>
<author>
<name>mark</name>
<email>markm@cs.wisc.edu</email>
</author>
<published>2020-06-12T02:31:49+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=2c31b45ae878b821975c4ebd94cc1e49f6073fd0'/>
<id>urn:sha1:2c31b45ae878b821975c4ebd94cc1e49f6073fd0</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Rollup merge of #72414 - KodrAus:feat/stdlazy, r=Mark-Simulacrum</title>
<updated>2020-07-18T01:13:39+00:00</updated>
<author>
<name>Manish Goregaokar</name>
<email>manishsmail@gmail.com</email>
</author>
<published>2020-07-18T01:13:39+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=01418bd1aa71a38567b9fea737d74379133d28c0'/>
<id>urn:sha1:01418bd1aa71a38567b9fea737d74379133d28c0</id>
<content type='text'>
 Add lazy initialization primitives to std

Follow-up to #68198

Current RFC: https://github.com/rust-lang/rfcs/pull/2788

Rebased and fixed up a few of the dangling comments. Some notes carried over from the previous PR:

- [ ] Naming. I'm ok to just roll with the `Sync` prefix like `SyncLazy` for now, but [have a personal preference for `Atomic`](https://github.com/rust-lang/rfcs/pull/2788#issuecomment-574466983) like `AtomicLazy`.
- [x] [Poisoning](https://github.com/rust-lang/rfcs/pull/2788#discussion_r366725768). It seems like there's [some regret around poisoning in other `std::sync` types that we might want to just avoid upfront for `std::lazy`, especially if that would align with a future `std::mutex` that doesn't poison](https://rust-lang.zulipchat.com/#narrow/stream/219381-t-libs/topic/parking_lot.3A.3AMutex.20in.20std/near/190331199). Personally, if we're adding these types to `std::lazy` instead of `std::sync`, I'd be on-board with not worrying about poisoning in `std::lazy`, and potentially deprecating `std::sync::Once` and `lazy_static` in favour of `std::lazy` down the track if it's possible, rather than attempting to replicate their behavior. cc @Amanieu @sfackler.
- [ ] [Consider making`SyncOnceCell::get` blocking](https://github.com/matklad/once_cell/pull/92). There doesn't seem to be consensus in the linked PR on whether or not that's strictly better than the non-blocking variant.

In general, none of these seem to be really blocking an initial unstable merge, so we could possibly kick off a FCP if y'all are happy?

cc @matklad @pitdicker have I missed anything, or were there any other considerations that have come up since we last looked at this?
</content>
</entry>
<entry>
<title>Rollup merge of #73269 - mzohreva:mz/sgx-wait-timeout, r=jethrogb</title>
<updated>2020-07-17T00:08:56+00:00</updated>
<author>
<name>Manish Goregaokar</name>
<email>manishsmail@gmail.com</email>
</author>
<published>2020-07-17T00:08:56+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=41d956bf632fbc658f21a4195344fe79b685cde9'/>
<id>urn:sha1:41d956bf632fbc658f21a4195344fe79b685cde9</id>
<content type='text'>
Enable some timeouts in SGX platform

This would partially resolve https://github.com/fortanix/rust-sgx/issues/31

cc @jethrogb and @Goirad
</content>
</entry>
<entry>
<title>appease tidy</title>
<updated>2020-07-16T21:25:32+00:00</updated>
<author>
<name>Ashley Mannix</name>
<email>ashleymannix@live.com.au</email>
</author>
<published>2020-06-30T08:36:10+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=1f1cda65d9a5c88855d3fbcb3912095474e557de'/>
<id>urn:sha1:1f1cda65d9a5c88855d3fbcb3912095474e557de</id>
<content type='text'>
</content>
</entry>
<entry>
<title>remove inlined lazy::Waiter in favor of sync::Once</title>
<updated>2020-07-16T21:25:32+00:00</updated>
<author>
<name>Ashley Mannix</name>
<email>ashleymannix@live.com.au</email>
</author>
<published>2020-06-30T08:27:21+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=d1017940d77f35f841008c3e108e3da5e48a592f'/>
<id>urn:sha1:d1017940d77f35f841008c3e108e3da5e48a592f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Rollup merge of #73104 - poliorcetics:explicit-mutex-drop-example, r=dtolnay</title>
<updated>2020-06-15T10:01:07+00:00</updated>
<author>
<name>Ralf Jung</name>
<email>post@ralfj.de</email>
</author>
<published>2020-06-15T10:01:07+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=7c8b9413b8ce457b53e2c4ab5f3b9f1ce96195f7'/>
<id>urn:sha1:7c8b9413b8ce457b53e2c4ab5f3b9f1ce96195f7</id>
<content type='text'>
Example about explicit mutex dropping

Fixes #67457.

Following the remarks made in #73074, I added an example on the main `Mutex` type, with a situation where there is mutable data and a computation result.

In my testing it is effectively needed to explicitly drop the lock, else it deadlocks.

r? @dtolnay because you were the one to review the previous PR.
</content>
</entry>
<entry>
<title>Rewrap comments in Mutex example</title>
<updated>2020-06-13T17:11:02+00:00</updated>
<author>
<name>David Tolnay</name>
<email>dtolnay@gmail.com</email>
</author>
<published>2020-06-13T17:11:02+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=c010e711ca5ec02012afb83c0d99aec9d26a9eea'/>
<id>urn:sha1:c010e711ca5ec02012afb83c0d99aec9d26a9eea</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Clarify the scope-related explanation </title>
<updated>2020-06-13T16:43:37+00:00</updated>
<author>
<name>Poliorcetics</name>
<email>poliorcetics@users.noreply.github.com</email>
</author>
<published>2020-06-13T16:43:37+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=34b3ff06e101f60cb69268ee83c93c177b63c322'/>
<id>urn:sha1:34b3ff06e101f60cb69268ee83c93c177b63c322</id>
<content type='text'>
Based on the review made by dtolnay.</content>
</entry>
<entry>
<title>Apply suggestions from code review</title>
<updated>2020-06-13T16:41:01+00:00</updated>
<author>
<name>Poliorcetics</name>
<email>poliorcetics@users.noreply.github.com</email>
</author>
<published>2020-06-13T16:41:01+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=f747073fc1751afd2cfd4395283a4822b618f2da'/>
<id>urn:sha1:f747073fc1751afd2cfd4395283a4822b618f2da</id>
<content type='text'>
Co-authored-by: David Tolnay &lt;dtolnay@gmail.com&gt;</content>
</entry>
<entry>
<title>Enable some timeouts in SGX platform</title>
<updated>2020-06-12T18:26:19+00:00</updated>
<author>
<name>Mohsen Zohrevandi</name>
<email>mohsen.zohrevandi@fortanix.com</email>
</author>
<published>2020-06-12T00:44:21+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=c4b02659c16d2ad0ac36d2c8602edd002e559f7a'/>
<id>urn:sha1:c4b02659c16d2ad0ac36d2c8602edd002e559f7a</id>
<content type='text'>
This would partially resolve
https://github.com/fortanix/rust-sgx/issues/31
</content>
</entry>
</feed>
