Sleep

Sleep suspends the current thread for the specified time.

Syntax

Copy
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 Header Library

eRTOS 1.0 SDK

windows.h rtkrnl.lib

See Also: