FThreadSafeBool::AtomicSet

Sets a new value atomically, and returns the old value.

Windows
MacOS
Linux

References

Module

Core

Header

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

Include

#include "HAL/ThreadSafeBool.h"

Syntax

bool AtomicSet
(
    bool bNewValue
)

Remarks

Sets a new value atomically, and returns the old value.

Returns

The old value

Parameters

Parameter

Description

bNewValue

Value to set

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