<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/library/std/src/sync/poison.rs, branch lcnr/rustc-dev-guide</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=lcnr/rustc-dev-guide</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=lcnr/rustc-dev-guide'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2025-08-03T20:57:07+00:00</updated>
<entry>
<title>fix broken doc section link in `poison.rs`</title>
<updated>2025-08-03T20:57:07+00:00</updated>
<author>
<name>Connor Tsui</name>
<email>connor.tsui20@gmail.com</email>
</author>
<published>2025-08-03T20:28:04+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=cf3865f7a540706cb4ae1537b8f37d136e47da4e'/>
<id>urn:sha1:cf3865f7a540706cb4ae1537b8f37d136e47da4e</id>
<content type='text'>
</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>Document guarantees of poisoning</title>
<updated>2025-07-19T16:25:59+00:00</updated>
<author>
<name>Alisa Sireneva</name>
<email>me@purplesyringa.moe</email>
</author>
<published>2025-07-19T15:18:01+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=5b2c61edbe508163ad11cde0f35278417d7c26b3'/>
<id>urn:sha1:5b2c61edbe508163ad11cde0f35278417d7c26b3</id>
<content type='text'>
This mostly documents the current behavior of `Mutex` and `RwLock` 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.
</content>
</entry>
<entry>
<title>Update poison.rs</title>
<updated>2025-07-16T03:07:03+00:00</updated>
<author>
<name>Martin Ombura Jr.</name>
<email>8682597+martinomburajr@users.noreply.github.com</email>
</author>
<published>2025-07-16T03:07:03+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=f1d84468c87a4e8ea96e603d21c460004bdeb24f'/>
<id>urn:sha1:f1d84468c87a4e8ea96e603d21c460004bdeb24f</id>
<content type='text'>
Typo in word "below"</content>
</entry>
<entry>
<title>Update poison.rs to fix the typo (sys-&gt;sync)</title>
<updated>2025-06-27T10:56:53+00:00</updated>
<author>
<name>Kurt Heiritz (pseudo)</name>
<email>saarthkarkera@gmail.com</email>
</author>
<published>2025-06-27T10:56:53+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=06fb36c92ea0d92d93361badde0cae5aab763d43'/>
<id>urn:sha1:06fb36c92ea0d92d93361badde0cae5aab763d43</id>
<content type='text'>
</content>
</entry>
<entry>
<title>use generic Atomic type where possible</title>
<updated>2025-04-26T23:18:08+00:00</updated>
<author>
<name>Christopher Durham</name>
<email>cad97@cad97.com</email>
</author>
<published>2024-09-19T04:15:03+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=4d93f6056824c338751f19356d33bb61ce818749'/>
<id>urn:sha1:4d93f6056824c338751f19356d33bb61ce818749</id>
<content type='text'>
in core/alloc/std only for now, and ignoring test files

Co-authored-by: Pavel Grigorenko &lt;GrigorenkoPV@ya.ru&gt;
</content>
</entry>
<entry>
<title>Move some things to `std::sync::poison` and reexport them in `std::sync`</title>
<updated>2025-01-02T12:21:41+00:00</updated>
<author>
<name>Pavel Grigorenko</name>
<email>GrigorenkoPV@ya.ru</email>
</author>
<published>2024-12-23T16:36:41+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=ee2ad4dfb1b7d3a07604efc6d9eb618d0fe3bf7d'/>
<id>urn:sha1:ee2ad4dfb1b7d3a07604efc6d9eb618d0fe3bf7d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add value accessor methods to `Mutex` and `RwLock`</title>
<updated>2024-11-30T11:33:06+00:00</updated>
<author>
<name>EFanZh</name>
<email>efanzh@gmail.com</email>
</author>
<published>2024-11-30T11:33:06+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=242c6c33565f6287eb4fae4dfe1c65664aa19aec'/>
<id>urn:sha1:242c6c33565f6287eb4fae4dfe1c65664aa19aec</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Reformat `use` declarations.</title>
<updated>2024-07-28T22:26:52+00:00</updated>
<author>
<name>Nicholas Nethercote</name>
<email>n.nethercote@gmail.com</email>
</author>
<published>2024-07-28T22:13:50+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=84ac80f1921afc243d71fd0caaa4f2838c294102'/>
<id>urn:sha1:84ac80f1921afc243d71fd0caaa4f2838c294102</id>
<content type='text'>
The previous commit updated `rustfmt.toml` appropriately. This commit is
the outcome of running `x fmt --all` with the new formatting options.
</content>
</entry>
</feed>
