pub fn park_timeout_ms(ms: u32)
Blocks unless or until the current thread’s token is made available or the specified duration has been reached (may wake spuriously).
The semantics of this function are equivalent to
that the thread will be blocked for roughly no longer than
method should not be used for precise timing due to anomalies such as
preemption or platform differences that might not cause the maximum
amount of time waited to be precisely
See the park documentation for more detail.