mirror of
https://github.com/FEX-Emu/FEX.git
synced 2026-10-12 21:00:39 +02:00
Alwa's Awakening had an issue where it was spamming clock_nanosleep and getting EINVAL, consuming a CPU thread to 100%. This is due to two things in the previous implementation 1) glibc helper does some data munging and validation of inputs 2) We were updating remain even if TIMER_ABSTIME was used This only cropped up because this error would only occur when EINTR occured. Since the game is a mono game, the thread that would be sleeping would get interrupted and then spin forever with corrupted data.