FGenericPlatformProcess::Sleep

Sleep this thread for Seconds.

Windows
MacOS
Linux

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/GenericPlatform/GenericPlatformProcess.h

Include

#include "GenericPlatform/GenericPlatformProcess.h"

Source

/Engine/Source/Runtime/Core/Private/GenericPlatform/GenericPlatformProcess.cpp

Syntax

static void Sleep
(
    float Seconds
)

Remarks

Sleep this thread for Seconds. 0.0 means release the current time slice to let other threads get some attention. Uses stats.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss