Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/FThreadSafeCounter64
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| Default constructor.Initializes the counter to 0. | HAL/ThreadSafeCounter64.h | ||
FThreadSafeCounter64
(
const FThreadSafeCounter64& Other |
Copy Constructor. | HAL/ThreadSafeCounter64.h | |
FThreadSafeCounter64
(
int64 Value |
Constructor, initializing counter to passed in value. | HAL/ThreadSafeCounter64.h |
FThreadSafeCounter64()
Description
Default constructor.
Initializes the counter to 0.
| Name | FThreadSafeCounter64 |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/HAL/ThreadSafeCounter64.h |
| Include Path | #include "HAL/ThreadSafeCounter64.h" |
FThreadSafeCounter64()
FThreadSafeCounter64(const FThreadSafeCounter64 &)
Description
Copy Constructor.
If the counter in the Other parameter is changing from other threads, there are no guarantees as to which values you will get up to the caller to not care, synchronize or other way to make those guarantees.
| Name | FThreadSafeCounter64 |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/HAL/ThreadSafeCounter64.h |
| Include Path | #include "HAL/ThreadSafeCounter64.h" |
FThreadSafeCounter64
(
const FThreadSafeCounter64 & Other
)
Parameters
| Name | Remarks |
|---|---|
| Other | The other thread safe counter to copy |
FThreadSafeCounter64(int64)
Description
Constructor, initializing counter to passed in value.
| Name | FThreadSafeCounter64 |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/HAL/ThreadSafeCounter64.h |
| Include Path | #include "HAL/ThreadSafeCounter64.h" |
FThreadSafeCounter64
(
int64 Value
)
Parameters
| Name | Remarks |
|---|---|
| Value | Value to initialize counter to |