| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2024-05-02 | std: move thread parking to `sys::sync` | joboet | -224/+0 | |
| 2023-08-07 | std: synchronize with all calls to `unpark` in id-based thread parker | joboet | -11/+6 | |
| 2023-05-03 | Rollup merge of #105695 - joboet:remove_generic_parker, r=m-ou-se | Manish Goregaokar | -129/+1 | |
| Replace generic thread parker with explicit no-op parker With #98391 merged, all platforms supporting threads now have their own parking implementations. Therefore, the generic implementation can be removed. On the remaining platforms (really just WASM without atomics), parking is not supported, so calls to `thread::park` now return instantly, which is [allowed by their API](https://doc.rust-lang.org/nightly/std/thread/fn.park.html). This is a change in behaviour, as spurious wakeups do not currently occur since all platforms guard against them. It is invalid to depend on this, but I'm still going to tag this as libs-api for confirmation. ````@rustbot```` label +T-libs +T-libs-api +A-atomic r? rust-lang/libs | ||||
| 2023-04-10 | Fix typos in library | DaniPopes | -1/+1 | |
| 2023-02-22 | Rollup merge of #107736 - tgross35:atomic-as-ptr, r=m-ou-se | Matthias Krüger | -3/+3 | |
| Rename atomic 'as_mut_ptr' to 'as_ptr' to match Cell (ref #66893) Originally discussed in https://github.com/rust-lang/rust/issues/66893#issuecomment-1419198623 ~~This uses #107706 as a base to avoid a merge conflict once that gets rolled up (so disregard const changes in the diff until it does)~~ all merged & rebased `@rustbot` label +T-libs-api r? m-ou-se | ||||
| 2023-02-16 | std: replace generic thread parker with explicit no-op parker | joboet | -129/+1 | |
| 2023-02-10 | Rename atomic 'as_mut_ptr' to 'as_ptr' to match Cell (ref #66893) | Trevor Gross | -3/+3 | |
| 2022-12-31 | std: use id-based thread parking on SOLID | joboet | -105/+1 | |
| 2022-12-30 | std: rename `Parker::new` to `Parker::new_in_place`, add safe `Parker::new` ↵ | joboet | -5/+9 | |
| constructor for SGX | ||||
| 2022-12-29 | std: pass hint to id-based parking functions | joboet | -3/+3 | |
| 2022-12-29 | std: unify id-based thread parking implementations | joboet | -0/+457 | |
