Navigation
API > API/Runtime > API/Runtime/Core
A one-byte portable condition variable. Gives the same decent performance everywhere.
| Name | FConditionVariable |
| Type | class |
| Header File | /Engine/Source/Runtime/Core/Public/Experimental/Async/ConditionVariable.h |
| Include Path | #include "Experimental/Async/ConditionVariable.h" |
Syntax
class FConditionVariable
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
constexpr FConditionVariable () |
Experimental/Async/ConditionVariable.h | ||
FConditionVariable
(
const FConditionVariable& |
Experimental/Async/ConditionVariable.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bHasWaiters | std::atomic< bool > | Experimental/Async/ConditionVariable.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void NotifyAll() |
Experimental/Async/ConditionVariable.h | ||
void NotifyOne() |
Experimental/Async/ConditionVariable.h | ||
void Wait
(
TLock& Lock |
Experimental/Async/ConditionVariable.h |
Operators
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FConditionVariable & operator=
(
const FConditionVariable& |
Experimental/Async/ConditionVariable.h |