<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/library/std/src/sync/poison, branch auto</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=auto</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=auto'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2025-09-22T19:51:50+00:00</updated>
<entry>
<title>Mutex/RwLock/ReentrantLock::data_ptr to be const fn</title>
<updated>2025-09-22T19:51:50+00:00</updated>
<author>
<name>Peter Lyons Kehl</name>
<email>peter.kehl@gmail.com</email>
</author>
<published>2025-09-22T18:40:53+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=819f8b05b90adcf976d9b76e00fe3a9542781bf5'/>
<id>urn:sha1:819f8b05b90adcf976d9b76e00fe3a9542781bf5</id>
<content type='text'>
</content>
</entry>
<entry>
<title>fix Condvar::wait_timeout docs</title>
<updated>2025-09-13T18:13:37+00:00</updated>
<author>
<name>Ralf Jung</name>
<email>post@ralfj.de</email>
</author>
<published>2025-09-13T18:13:37+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=f21d3fbce96b956283bdda0557fb73604a0fd489'/>
<id>urn:sha1:f21d3fbce96b956283bdda0557fb73604a0fd489</id>
<content type='text'>
</content>
</entry>
<entry>
<title>fix visibility of private getters</title>
<updated>2025-08-23T13:39:39+00:00</updated>
<author>
<name>Connor Tsui</name>
<email>connor.tsui20@gmail.com</email>
</author>
<published>2025-08-23T13:39:37+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=d210ce7dac4acb7653d647c77d56c10068dda82c'/>
<id>urn:sha1:d210ce7dac4acb7653d647c77d56c10068dda82c</id>
<content type='text'>
Signed-off-by: Connor Tsui &lt;connor.tsui20@gmail.com&gt;
</content>
</entry>
<entry>
<title>move `WaitTimeoutResult` up to `mod.rs`</title>
<updated>2025-08-23T13:20:47+00:00</updated>
<author>
<name>Connor Tsui</name>
<email>connor.tsui20@gmail.com</email>
</author>
<published>2025-07-24T13:24:22+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=b8ee38b79e6bfbb1376785f765a233e96d0c5da2'/>
<id>urn:sha1:b8ee38b79e6bfbb1376785f765a233e96d0c5da2</id>
<content type='text'>
Since `WaitTimeoutResult` is poison-agnostic, we want to use the same
type for both variants of `Condvar`.

Signed-off-by: Connor Tsui &lt;connor.tsui20@gmail.com&gt;
</content>
</entry>
<entry>
<title>Rollup merge of #144648 - connortsui20:nonpoison_rwlock, r=Mark-Simulacrum</title>
<updated>2025-08-23T02:00:46+00:00</updated>
<author>
<name>Jacob Pratt</name>
<email>jacob@jhpratt.dev</email>
</author>
<published>2025-08-23T02:00:46+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=2bd39222cdb9b6bb182c4de44cde99048942683b'/>
<id>urn:sha1:2bd39222cdb9b6bb182c4de44cde99048942683b</id>
<content type='text'>
Implementation: `#[feature(nonpoison_rwlock)]`

Tracking Issue: https://github.com/rust-lang/rust/issues/134645

This PR continues the effort made in https://github.com/rust-lang/rust/pull/144022 by adding the implementation of `nonpoison::rwlock`.

Many of the changes here are similar to the changes made to implement `nonpoison::mutex`. The only real difference is that this PR includes a reorganizing of the existing `poison::rwlock` file that hopefully makes both variants more readable.

### Related PRs

- `nonpoison_condvar` implementation: https://github.com/rust-lang/rust/pull/144651
- `nonpoison_once` implementation: https://github.com/rust-lang/rust/pull/144653
</content>
</entry>
<entry>
<title>run spellcheck as a tidy extra check in ci</title>
<updated>2025-08-16T14:51:44+00:00</updated>
<author>
<name>binarycat</name>
<email>binarycat@envs.net</email>
</author>
<published>2025-08-06T22:21:25+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=e31fed054bc19845b04ee0be50c1254174e87ad0'/>
<id>urn:sha1:e31fed054bc19845b04ee0be50c1254174e87ad0</id>
<content type='text'>
</content>
</entry>
<entry>
<title>reorganize rwlock file</title>
<updated>2025-08-09T06:16:51+00:00</updated>
<author>
<name>Connor Tsui</name>
<email>connor.tsui20@gmail.com</email>
</author>
<published>2025-07-19T10:40:08+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=d710a8e8d7c130ce7814f592b981b59d03bdacac'/>
<id>urn:sha1:d710a8e8d7c130ce7814f592b981b59d03bdacac</id>
<content type='text'>
This commit is a purely cosmetic change to the documentation and
ordering of items in the `rwlock.rs` file, which will help discern the
actual difference between the `nonpoison` and `poison` variants of
`rwlock`.

List of changes (lots of small things):

- Clean up some of the existing field doc comments
- Add documentation for every field in struct definitions
- Consolidate related implementation blocks (1 implementation block per
  guard instead of 2)
- Use the lifetime name `'rwlock` instead of `'a`
- Reorder implementation blocks to be consistent across the entire file
  (follows the order `ReadGuard`, `WriteGuard`, `MappedReadGuard`,
  MappedWriteGuard`)
- Move simple trait implementations to the bottom of the file
- Rename the `poison` field in `MappedRwLockWriteGuard` to
  posion_guard`
- Cut off comments at 100 columns
- Update the documentation of `downgrade` to match stabilization PR #
  143191
</content>
</entry>
<entry>
<title>Rollup merge of #144185 - purplesyringa:poisoning-wording, r=Amanieu</title>
<updated>2025-08-02T09:24:22+00:00</updated>
<author>
<name>Samuel Tardieu</name>
<email>sam@rfc1149.net</email>
</author>
<published>2025-08-02T09:24:22+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=ce1961bbfcc71818484d340ea4924f28417657e8'/>
<id>urn:sha1:ce1961bbfcc71818484d340ea4924f28417657e8</id>
<content type='text'>
Document guarantees of poisoning

This mostly documents the current behavior of `Mutex` and `RwLock` (rust-lang/rust#143471) as imperfect. It's unlikely that the situation improves significantly in the future, and even if it does, the rules will probably be more complicated than "poisoning is completely reliable", so this is a conservative guarantee.

We also explicitly specify that `OnceLock` never poisons, even though it has an API similar to mutexes.

Fixes rust-lang/rust#143471 by improving documentation.

r? ``@Amanieu``
</content>
</entry>
<entry>
<title>clean up existing poison files</title>
<updated>2025-07-29T08:32:14+00:00</updated>
<author>
<name>Connor Tsui</name>
<email>connor.tsui20@gmail.com</email>
</author>
<published>2025-07-23T11:34:04+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=ec4dc1c5f87e3de735cefb21ac51522568b1b391'/>
<id>urn:sha1:ec4dc1c5f87e3de735cefb21ac51522568b1b391</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add a note on foreign exceptions</title>
<updated>2025-07-25T19:14:02+00:00</updated>
<author>
<name>Alisa Sireneva</name>
<email>me@purplesyringa.moe</email>
</author>
<published>2025-07-25T19:14:02+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=c1d06cccaed537c799838dc5338dda28bbace52b'/>
<id>urn:sha1:c1d06cccaed537c799838dc5338dda28bbace52b</id>
<content type='text'>
</content>
</entry>
</feed>
