Files
phy/search.desc/spin_sleep/spin_sleep-desc-0-.js
Orion Kindel 0ce894e6b0 doc
2025-03-18 10:30:23 -05:00

1 line
1.4 KiB
JavaScript

searchState.loadedDescShard("spin_sleep", 0, "Accurate sleeping. Only use native sleep as far as it can …\nMarker alias to show the meaning of a <code>u64</code> in certain …\nMarker alias to show the meaning of a <code>f64</code> in certain …\nMarker alias to show the meaning of a <code>f64</code> in certain …\nCall <code>std::hint::spin_loop</code> while spinning.\nAccuracy container for spin sleeping. See crate docs.\nWhat to do while spinning.\nMarker alias to show the meaning of a <code>u32</code> in certain …\nCall <code>std::thread::yield_now</code> while spinning.\nConstructs new SpinSleeper with defaults suiting the …\nReturns the argument unchanged.\nReturns the argument unchanged.\nCalls <code>U::from(self)</code>.\nCalls <code>U::from(self)</code>.\nReturns configured native_accuracy_ns.\nAsks the OS to put the current thread to sleep for at …\nConstructs new SpinSleeper with the input native sleep …\nPuts the current thread to sleep for the <code>duration</code> less the …\nPuts the current thread to sleep for the <code>duration</code> less the …\nPuts the current thread to sleep for the give …\nPuts the current thread to sleep for the give …\nPuts the current thread to sleep until the <code>deadline</code> less …\nPuts the current thread to sleep until the <code>deadline</code> less …\nReturns configured spin strategy.\nReturns a spin sleeper with the given <code>SpinStrategy</code>.")