TaskGraph.TestCriticalLockFree
TaskGraph.TestCriticalLockFree
#Overview
name: TaskGraph.TestCriticalLockFree
This variable is created as a Console Variable (cvar).
- type:
Var
- help:
If > 0, then we sleep periodically at critical points in the lock free lists. Threads must not starve...this will encourage them to starve at the right place to find livelocks.
It is referenced in 1
C++ source file.
#Summary
#References in C++ code
#Callsites
This variable is referenced in the following C++ source code:
#Loc: <Workspace>/Engine/Source/Runtime/Core/Private/Containers/LockFreeList.cpp:29
Scope: file
Source code excerpt:
int32 GTestCriticalStalls = 0;
static FAutoConsoleVariableRef CVarTestCriticalLockFree(
TEXT("TaskGraph.TestCriticalLockFree"),
GTestCriticalStalls,
TEXT("If > 0, then we sleep periodically at critical points in the lock free lists. Threads must not starve...this will encourage them to starve at the right place to find livelocks."),
ECVF_Cheat
);
#endif