FHoloLensCriticalSection

This is the HoloLens version of a critical section.

Choose your operating system:

Windows

macOS

Linux

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/HoloLens/HoloLensCriticalSection.h

Include

#include "HoloLens/HoloLensCriticalSection.h"

Syntax

class FHoloLensCriticalSection

Remarks

This is the HoloLens version of a critical section. It uses an aggregate CRITICAL_SECTION to implement its locking.

Constructors

Name Description

Public function

FHoloLensCriticalSection()

Constructor that initializes the aggregated critical section

Destructors

Name Description

Public function

~FHoloLensCriticalSection()

Destructor cleaning up the critical section

Functions

Name Description

Public function

void

 

Lock()

Locks the critical section

Public function

bool

 

TryLock()

Attempt to take a lock and returns whether or not a lock was taken.

Public function

void

 

Unlock()

Releases the lock on the critical seciton