You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
FChunkCacheWorker::ChunkRequestAvailable could have many threads waiting on it and would only wake up a single thread each time a FChunkBuffer is processed. There would be no guarantee that the correct thread would be woken up or that each thread would be woken a single time, meaning that sooner or later we would end up with the FChunkCacheWorker having no more work to process but a number of threads still idle, waiting on the event to wake them, which would never happen. Switching to a manually reset event will cause all waiting threads to be woken each time the event is triggered and will make sure that we don't deadlock. This issue showed up now due to changes else where in the code which resulted in more threads waiting on FChunkCacheWorker than we previously had. #jira UE-88734 #rb graeme.thornton #ROBOMERGE-SOURCE: CL 11458603 in //UE4/Release-4.25/... #ROBOMERGE-BOT: RELEASE (Release-4.25 -> Release-4.25Plus) (v654-11333218) [CL 11458605 by paul chipchase in 4.25-Plus branch]