Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/FThreadSafeCounter64
Description
Sets the counter to a specific value and returns the old value.
| Name | Set |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/HAL/ThreadSafeCounter64.h |
| Include Path | #include "HAL/ThreadSafeCounter64.h" |
int64 Set
(
int64 Value
)
The old value
Parameters
| Name | Remarks |
|---|---|
| Value | Value to set the counter to |