rust/library/std/src/sync
Matthias Krüger 5e8bc7f4d3
Rollup merge of #139553 - petrosagg:channel-double-free, r=RalfJung,tgross35
sync::mpsc: prevent double free on `Drop`

This PR is fixing a regression introduced by #121646 that can lead to a double free when dropping the channel.

The details of the bug can be found in the corresponding crossbeam PR https://github.com/crossbeam-rs/crossbeam/pull/1187
2025-04-18 05:16:29 +02:00
..
mpmc sync::mpsc: prevent double free on Drop 2025-04-11 15:33:09 +03:00
poison std: clarify RwLock::get_mut more clearly 2025-04-03 19:25:47 +08:00
barrier.rs Move std::sync unit tests to integration tests 2025-01-26 10:28:05 +00:00
lazy_lock.rs Move std::sync unit tests to integration tests 2025-01-26 10:28:05 +00:00
mod.rs Implement UniqueArc 2025-03-22 15:14:49 +08:00
mpsc.rs Move std::sync unit tests to integration tests 2025-01-26 10:28:05 +00:00
once_lock.rs update version placeholders 2025-02-18 08:50:21 -08:00
poison.rs Move some things to std::sync::poison and reexport them in std::sync 2025-01-02 15:21:41 +03:00
reentrant_lock.rs Move std::sync unit tests to integration tests 2025-01-26 10:28:05 +00:00