Choose your operating system:
Windows
macOS
Linux
| FThreadSafeCounter
|
Module |
|
Header |
/Engine/Source/Runtime/Core/Public/HAL/ThreadSafeBool.h |
Include |
#include "HAL/ThreadSafeBool.h" |
class FThreadSafeBool : private FThreadSafeCounter
Thread safe bool, wraps FThreadSafeCounter
Name | Description | |
---|---|---|
|
FThreadSafeBool ( |
Constructor optionally takes value to initialize with, otherwise initializes false |
Name | Description | ||
---|---|---|---|
|
operator bool() |
Operator to use this struct as a bool with thread safety |
|
|
operator= ( |
Operator to set the bool value with thread safety |