FRunnableThread::Suspend

Tells the thread to either pause execution or resume depending on the passed in value.

Choose your operating system:

Windows

macOS

Linux

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/HAL/RunnableThread.h

Include

#include "HAL/RunnableThread.h"

Syntax

void Suspend
(
    bool bShouldPause
)

Remarks

Tells the thread to either pause execution or resume depending on the passed in value.

Parameters

Parameter

Description

bShouldPause

Whether to pause the thread (true) or resume (false)