sleep

Number0x05
Signature(ms) -> 0
Grouptask
Since1.0
Blockingtrue

Block the calling thread for a fixed duration. Other threads in the process continue to run.

Durations are measured in scheduler ticks, so the real sleep is rounded up to whole ticks; a sub-tick duration sleeps one tick rather than returning immediately. There is no infinite form (use a blocking recv/wait for that) and no polling form.

Arguments

RegisterNameDescription
r0msDuration in milliseconds

Returns

0.

See also