<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/library/std/src/sys_common/thread_parking, branch master</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=master</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=master'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2024-05-02T10:38:26+00:00</updated>
<entry>
<title>std: move thread parking to `sys::sync`</title>
<updated>2024-05-02T10:38:26+00:00</updated>
<author>
<name>joboet</name>
<email>jonasboettiger@icloud.com</email>
</author>
<published>2024-04-23T09:49:37+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=a56fd370fc3e6b5cfbd9eb0b96f533d0bcca0b1f'/>
<id>urn:sha1:a56fd370fc3e6b5cfbd9eb0b96f533d0bcca0b1f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>std: synchronize with all calls to `unpark` in id-based thread parker</title>
<updated>2023-08-07T17:13:34+00:00</updated>
<author>
<name>joboet</name>
<email>jonasboettiger@icloud.com</email>
</author>
<published>2023-08-07T17:13:34+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=fd9fcc580a40bdf398576199c5e8c3ebe12de9c6'/>
<id>urn:sha1:fd9fcc580a40bdf398576199c5e8c3ebe12de9c6</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Rollup merge of #105695 - joboet:remove_generic_parker, r=m-ou-se</title>
<updated>2023-05-03T23:42:48+00:00</updated>
<author>
<name>Manish Goregaokar</name>
<email>manishsmail@gmail.com</email>
</author>
<published>2023-05-03T23:42:48+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=3fa0c087e4891724531009768001a464d74f85b0'/>
<id>urn:sha1:3fa0c087e4891724531009768001a464d74f85b0</id>
<content type='text'>
Replace generic thread parker with explicit no-op parker

With #98391 merged, all platforms supporting threads now have their own parking implementations. Therefore, the generic implementation can be removed. On the remaining platforms (really just WASM without atomics), parking is not supported, so calls to `thread::park` now return instantly, which is [allowed by their API](https://doc.rust-lang.org/nightly/std/thread/fn.park.html). This is a change in behaviour, as spurious wakeups do not currently occur since all platforms guard against them. It is invalid to depend on this, but I'm still going to tag this as libs-api for confirmation.

````@rustbot```` label +T-libs +T-libs-api +A-atomic

r? rust-lang/libs
</content>
</entry>
<entry>
<title>Fix typos in library</title>
<updated>2023-04-10T19:07:29+00:00</updated>
<author>
<name>DaniPopes</name>
<email>57450786+DaniPopes@users.noreply.github.com</email>
</author>
<published>2023-04-10T19:07:29+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=a0daf22b95ff1cd3f7ac55ea9370987535f3134d'/>
<id>urn:sha1:a0daf22b95ff1cd3f7ac55ea9370987535f3134d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Rollup merge of #107736 - tgross35:atomic-as-ptr, r=m-ou-se</title>
<updated>2023-02-22T19:05:57+00:00</updated>
<author>
<name>Matthias Krüger</name>
<email>matthias.krueger@famsik.de</email>
</author>
<published>2023-02-22T19:05:57+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=0982eab8394535b8f3c2a7d814f31c8c41fb3b96'/>
<id>urn:sha1:0982eab8394535b8f3c2a7d814f31c8c41fb3b96</id>
<content type='text'>
 Rename atomic 'as_mut_ptr' to 'as_ptr' to match Cell (ref #66893)

Originally discussed in https://github.com/rust-lang/rust/issues/66893#issuecomment-1419198623

~~This uses #107706 as a base to avoid a merge conflict once that gets rolled up (so disregard const changes in the diff until it does)~~ all merged &amp; rebased

`@rustbot` label +T-libs-api
r? m-ou-se
</content>
</entry>
<entry>
<title>std: replace generic thread parker with explicit no-op parker</title>
<updated>2023-02-16T14:06:45+00:00</updated>
<author>
<name>joboet</name>
<email>jonasboettiger@icloud.com</email>
</author>
<published>2022-12-11T12:01:29+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=9622cdee1ad9657dd93d67a9ffdbc16e196ee4fa'/>
<id>urn:sha1:9622cdee1ad9657dd93d67a9ffdbc16e196ee4fa</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Rename atomic 'as_mut_ptr' to 'as_ptr' to match Cell (ref #66893)</title>
<updated>2023-02-11T01:46:14+00:00</updated>
<author>
<name>Trevor Gross</name>
<email>tmgross@umich.edu</email>
</author>
<published>2023-02-06T20:01:40+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=787b1116e80bfa6138227212814990aa4eccf186'/>
<id>urn:sha1:787b1116e80bfa6138227212814990aa4eccf186</id>
<content type='text'>
</content>
</entry>
<entry>
<title>std: use id-based thread parking on SOLID</title>
<updated>2022-12-31T10:00:54+00:00</updated>
<author>
<name>joboet</name>
<email>jonasboettiger@icloud.com</email>
</author>
<published>2022-12-31T10:00:54+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=78245286dcde9f2cf99a370ec0cd4383fa684404'/>
<id>urn:sha1:78245286dcde9f2cf99a370ec0cd4383fa684404</id>
<content type='text'>
</content>
</entry>
<entry>
<title>std: rename `Parker::new` to `Parker::new_in_place`, add safe `Parker::new` constructor for SGX</title>
<updated>2022-12-30T14:49:47+00:00</updated>
<author>
<name>joboet</name>
<email>jonasboettiger@icloud.com</email>
</author>
<published>2022-12-30T14:49:47+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=9abda03da69ee64625f2242cdaefa348bd0b48cd'/>
<id>urn:sha1:9abda03da69ee64625f2242cdaefa348bd0b48cd</id>
<content type='text'>
</content>
</entry>
<entry>
<title>std: pass hint to id-based parking functions</title>
<updated>2022-12-29T16:54:09+00:00</updated>
<author>
<name>joboet</name>
<email>jonasboettiger@icloud.com</email>
</author>
<published>2022-12-29T16:54:09+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=3076f4ec30632a063d0737bef589e1c4859ad23c'/>
<id>urn:sha1:3076f4ec30632a063d0737bef589e1c4859ad23c</id>
<content type='text'>
</content>
</entry>
</feed>
