⚠️ VeridianOS Kernel Documentation - This is low-level kernel code. All functions are unsafe unless explicitly marked otherwise. no_std

sleep_ms

Function sleep_ms 

Source
pub fn sleep_ms(ms: u64)
Expand description

Sleep for a number of milliseconds

Uses timer-based sleep to avoid busy-waiting. The thread will yield to the scheduler while waiting for the sleep duration to elapse.