FThreadSafeCounter::Set

Sets the counter to a specific value and returns the old value.

Windows
MacOS
Linux

References

Module

Core

Header

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

Include

#include "HAL/ThreadSafeCounter.h"

Syntax

int32 Set
(
    int32 Value
)

Remarks

Sets the counter to a specific value and returns the old value.

Returns

The old value

Parameters

Parameter

Description

Value

Value to set the counter to

See Also

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