Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/FThreadSafeCounter
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FThreadSafeCounter
(
int32 Value |
Constructor, initializing counter to passed in value. | HAL/ThreadSafeCounter.h | |
FThreadSafeCounter
(
const FThreadSafeCounter& Other |
Copy Constructor. | HAL/ThreadSafeCounter.h |
FThreadSafeCounter(int32)
Description
Constructor, initializing counter to passed in value.
| Name | FThreadSafeCounter |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/HAL/ThreadSafeCounter.h |
| Include Path | #include "HAL/ThreadSafeCounter.h" |
FThreadSafeCounter
(
int32 Value
)
Parameters
| Name | Remarks |
|---|---|
| Value | Value to initialize counter to |
FThreadSafeCounter(const FThreadSafeCounter &)
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 | FThreadSafeCounter |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/HAL/ThreadSafeCounter.h |
| Include Path | #include "HAL/ThreadSafeCounter.h" |
FThreadSafeCounter
(
const FThreadSafeCounter & Other
)
Parameters
| Name | Remarks |
|---|---|
| Other | The other thread safe counter to copy |