Now that we have at least one thing in `std::hint` it makes sense to move this to `std::hint::spin_loop`. ----- **EDIT (@KodrAus)** Before stabilisation: - [x] Decide on new function name (`hint::spin_loop` or `spin_loop_hint`) Stabilisation/deprecation: - [x] Stabilise `renamed_spin_loop` feature [#76097] - [x] Deprecate the `sync::atomic::spin_loop_hint` function
Now that we have at least one thing in
std::hintit makes sense to move this tostd::hint::spin_loop.EDIT (@KodrAus)
Before stabilisation:
hint::spin_looporspin_loop_hint)Stabilisation/deprecation:
renamed_spin_loopfeature [Stabilize hint::spin_loop #76097]sync::atomic::spin_loop_hintfunction