Luna::sleep

void sleep(u32 time_milliseconds)

Suspends current thread for a specific period of time.

The actual suspended time may be longer than required.

Parameters

  • in timeMillisecounds

    The time, in milliseconds, that this thread needs to suspend.