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

#include <PThreadSemaphore.h>

Public Member Functions

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

Constructor & Destructor Documentation

◆ FPThreadSemaphore()

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

◆ ~FPThreadSemaphore()

FPThreadSemaphore::~FPThreadSemaphore ( )
inline

Member Function Documentation

◆ Acquire()

void FPThreadSemaphore::Acquire ( )
inline

◆ Release()

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

◆ TryAcquire()

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

◆ UE_NONCOPYABLE()

FPThreadSemaphore::UE_NONCOPYABLE ( FPThreadSemaphore  )

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