Files
UnrealEngineUWP/Engine/Source/Developer/Virtualization
paul chipchase 375f77902a Clean up VA initialization to avoid potential threading issue
#rb Per.Larsson
#jira UE-214357
#rnx

- TSAN picked up that FVirtualizationManager::bPendingBackendConnections could be accessed on multiple threads while being written too. Technically this is expected which is why the bool was checked a second time after acquiring the lock but to play things safe the bool has been changed to a std::atomic<bool>
- Changed InitCS from a FCriticalSystem (which can use an OS level primitive) to the less expensive FMutex since it's almost never going to be used.

[CL 33761948 by paul chipchase in ue5-main branch]
2024-05-20 03:21:37 -04:00
..