Sleep

Sleep suspends the current process for the specified time.

Syntax

VOID Sleep(
    ULONG milliSeconds
);

Parameters

milliSeconds

The amount of time to sleep, expressed as milliseconds.

Return Value

The function returns no value.

Remarks

Sleep suspends the given thread from execution for the specified amount of time.

Requirements

Minimum Supported Version RTX64 2013
Header windows.h
Library Rtx_Rtss.lib

See Also:

RtCreateTimer

RtDeleteTimer

RtGetClockResolution

RtGetClockTime

RtGetClockTimerPeriod

RtGetTimer

RtSetClockTime

RtSetTimer

RtSetTimerRelative