FScopeTryLock::FScopeTryLock

Constructor that tries to lock the critical section.

Choose your operating system:

Windows

macOS

Linux

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/Misc/ScopeTryLock.h

Include

#include "Misc/ScopeTryLock.h"

Syntax

FScopeTryLock
(
    FCriticalSection * InCriticalSection
)

Remarks

Constructor that tries to lock the critical section.

that you must call IsLocked to test that the lock was acquired.