patch_seq_time_sleep_ms

Function patch_seq_time_sleep_ms 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn patch_seq_time_sleep_ms( stack: Stack, ) -> Stack
Expand description

Sleep for a specified number of milliseconds

Stack effect: ( Int – )

Yields the current strand to the scheduler while sleeping. Uses may::coroutine::sleep for cooperative scheduling.

§Safety

  • stack must be a valid, non-null stack pointer with an Int on top