TaskGraph.TestCriticalLockFree
TaskGraph.TestCriticalLockFree is a console variable in Unreal Engine 5 (UE5). See what TaskGraph.TestCriticalLockFree does, its values, and how to use this cvar in the Unreal console below.
Category: Remaining · Namespace:
taskgraphHelp
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.
Usage
Unreal console (open with ~)
> TaskGraph.TestCriticalLockFree 1Console variables take a value. Replace 1 with the setting you need. Run it with no value to print the current one.
Related in taskgraph
TaskGraph.TaskPriorities.RHIThreadOnTaskThreadsVarTaskGraph.TaskPriorities.SceneRenderingTaskVarTaskGraph.TaskPriorities.TickCleanupTaskPriorityVarTaskGraph.TaskPriorities.TickDispatchTaskPriorityVarTaskGraph.TaskPriorities.UpdateCachePrimitivesTaskVarTaskGraph.TaskThreadPriorityCmdTaskGraph.TestDontCompleteUntilForAlreadyCompleteVarTaskGraph.TestLockFreeCmdTaskGraph.TestLowToHighPriCmdTaskGraph.UseBackgroundThreadsVarTaskGraph.UseHiPriThreadsVar