Skip to main content

thread_sleep_ms

Function thread_sleep_ms 

Source
pub fn thread_sleep_ms(milliseconds: u64) -> Void
Expand description

Sleeps the current thread for the specified number of milliseconds.

This is a cross-platform utility that can be called from C/C++/Python.

ยงArguments

  • milliseconds - Number of milliseconds to sleep