diff options
| author | Alisa Sireneva <me@purplesyringa.moe> | 2025-07-19 18:18:01 +0300 | 
|---|---|---|
| committer | Alisa Sireneva <me@purplesyringa.moe> | 2025-07-19 19:25:59 +0300 | 
| commit | 5b2c61edbe508163ad11cde0f35278417d7c26b3 (patch) | |
| tree | b5a6b8c905fc8fe844cc52f0f34839accf0c862b /tests/codegen-llvm/merge-functions.rs | |
| parent | 83825dd277503edf5d7eda6be8b5fb9896f343f5 (diff) | |
| download | rust-5b2c61edbe508163ad11cde0f35278417d7c26b3.tar.gz rust-5b2c61edbe508163ad11cde0f35278417d7c26b3.zip | |
Document guarantees of poisoning
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.
Diffstat (limited to 'tests/codegen-llvm/merge-functions.rs')
0 files changed, 0 insertions, 0 deletions
