Sleep

Sleep suspends the current process for the specified time.

Syntax

Copy
VOID Sleep(
    [in]    ULONG milliSeconds
);

Parameters

[in] 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 Header Library

wRTOS 1.0 SDK

windows.h

wRTOS_rtss.lib

See Also: