Skip to main content

precise_sleeps

Function precise_sleeps 

Source
pub fn precise_sleeps()
Expand description

Has the calling thread’s sleeps end as close to when they were asked for as the system can, for a thread that paces frames: on Linux a timer slack of a nanosecond in place of 50 microseconds. Elsewhere it does nothing.