Logo
Explore Help
Sign In
izzy/UnrealEngineUWP
0
0
Fork 0
You've already forked UnrealEngineUWP
mirror of https://github.com/izzy2lost/UnrealEngineUWP.git synced 2026-03-26 18:15:20 -07:00
Code Issues Packages Projects Releases Wiki Activity
Files
e634ee40dc2e97daa4e4ead10edfeb683fee4792
UnrealEngineUWP/Engine/Source/Runtime/Core/Private/FileCache
History
andriy tylychko c136b16937 a workaround to avoid "deadlock by busy-waiting" in ShaderCodeArchive: the existing IAsyncReadRequest::WaitCompletion() didn't guarantee completion, only that the request is done and the result is ready. It was used in IMemoryReadStream::EnsureReadNonBlocking() to ensure the following read will be non-blocking, and this can fail and actually block on reading -> busy-waiting -> deadlock. The new method EnsureCompletion() was added instead of "fixing" existing WaitCompletion() because other use cases don't need completion guarantee and the new method is theoretically slower
#rb danny.couture,arciel.rekman

[CL 26281551 by andriy tylychko in ue5-main branch]
2023-06-28 07:23:02 -04:00
..
FileCache.cpp
…
Powered by Gitea Page: 1091ms Template: 22ms
English
English
Licenses API