UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
FWindowsSemaphore Class Reference

#include <WindowsSemaphore.h>

Public Member Functions

 UE_NONCOPYABLE (FWindowsSemaphore)
 
 FWindowsSemaphore (int32 InitialCount, int32 MaxCount)
 
 ~FWindowsSemaphore ()
 
void Acquire ()
 
bool TryAcquire (FTimespan Timeout=FTimespan::Zero())
 
void Release (int32 Count=1)
 

Constructor & Destructor Documentation

◆ FWindowsSemaphore()

FWindowsSemaphore::FWindowsSemaphore ( int32  InitialCount,
int32  MaxCount 
)
inline

◆ ~FWindowsSemaphore()

FWindowsSemaphore::~FWindowsSemaphore ( )
inline

Member Function Documentation

◆ Acquire()

void FWindowsSemaphore::Acquire ( )
inline

◆ Release()

void FWindowsSemaphore::Release ( int32  Count = 1)
inline

◆ TryAcquire()

bool FWindowsSemaphore::TryAcquire ( FTimespan  Timeout = FTimespan::Zero())
inline

◆ UE_NONCOPYABLE()

FWindowsSemaphore::UE_NONCOPYABLE ( FWindowsSemaphore  )

The documentation for this class was generated from the following file: