FScopeTryLock::FScopeTryLock

Constructor that tries to lock the critical section.

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. Note that you must call IsLocked to test that the lock was acquired.

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