| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2024-11-18 | std: allow after-main use of synchronization primitives | joboet | -4/+9 | |
| By creating an unnamed thread handle when the actual one has already been destroyed, synchronization primitives using thread parking can be used even outside the Rust runtime. This also fixes an inefficiency in the queue-based `RwLock`: if `thread::current` was not initialized yet, it will create a new handle on every parking attempt without initializing `thread::current`. The private `current_or_unnamed` function introduced here fixes this. | ||||
| 2024-09-22 | Reformat using the new identifier sorting from rustfmt | Michael Goulet | -1/+1 | |
| 2024-07-29 | Reformat `use` declarations. | Nicholas Nethercote | -1/+0 | |
| The previous commit updated `rustfmt.toml` appropriately. This commit is the outcome of running `x fmt --all` with the new formatting options. | ||||
| 2022-11-12 | avoid calling `thread::current` in channel destructor | Ibraheem Ahmed | -4/+5 | |
| 2022-11-09 | tidy | Ibraheem Ahmed | -1/+0 | |
| 2022-11-09 | remove extra spinning from `mpsc` parker | Ibraheem Ahmed | -15/+0 | |
| 2022-11-09 | initial port of crossbeam-channel | Ibraheem Ahmed | -0/+170 | |
