Navigation
API > API/Runtime > API/Runtime/Core
This is the PThreads version of FEvent.
| Name | FPThreadEvent |
| Type | class |
| Header File | /Engine/Source/Runtime/Core/Public/HAL/PThreadEvent.h |
| Include Path | #include "HAL/PThreadEvent.h" |
Syntax
class FPThreadEvent : public FEvent
Inheritance Hierarchy
- FEvent → FPThreadEvent
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FPThreadEvent() |
HAL/PThreadEvent.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~FPThreadEvent() |
HAL/PThreadEvent.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bInitialized | bool | HAL/PThreadEvent.h | ||
| bIsManualReset | bool | HAL/PThreadEvent.h | ||
| Condition | pthread_cond_t | HAL/PThreadEvent.h | ||
| Mutex | pthread_mutex_t | HAL/PThreadEvent.h | ||
| Triggered | volatile TriggerType | HAL/PThreadEvent.h | ||
| WaitingThreads | volatile int32 | HAL/PThreadEvent.h |
Functions
Public
Overridden from FEvent
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual bool Create
(
bool bIsManualReset |
Creates the event. | HAL/PThreadEvent.h | |
virtual bool IsManualReset () |
Whether the signaled state of this event needs to be reset manually. | HAL/PThreadEvent.h | |
virtual void Reset () |
Resets the event to an untriggered (waitable) state. | HAL/PThreadEvent.h | |
virtual void Trigger () |
Triggers the event so any waiting threads are activated. | HAL/PThreadEvent.h | |
virtual bool Wait
(
uint32 WaitTime, |
Waits the specified amount of time for the event to be triggered. | HAL/PThreadEvent.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static void SubtractTimevals
(
const timeval* FromThis, |
HAL/PThreadEvent.h |