FUnixSystemWideCriticalSection

Unix implementation of the FSystemWideCriticalSection. Uses exclusive file locking.

Windows
MacOS
Linux

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/Unix/UnixCriticalSection.h

Include

#include "Unix/UnixCriticalSection.h"

Syntax

class FUnixSystemWideCriticalSection

Remarks

Unix implementation of the FSystemWideCriticalSection. Uses exclusive file locking.

Constructors

Name Description

Public function

FUnixSystemWideCriticalSection

(
    const FString& InName,
    FTimespan InTimeout
)

Construct a named, system-wide critical section and attempt to get access/ownership of it

Destructors

Name Description

Public function

~FUnixSystemWideCriticalSection()

Destructor releases system-wide critical section if it is currently owned

Functions

Name Description

Public function Const

bool

 

IsValid()

Does the calling thread have ownership of the system-wide critical section?

Public function

void

 

Release()

Releases system-wide critical section if it is currently owned

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss