mirror of
https://github.com/FEX-Emu/FEX.git
synced 2026-10-27 02:00:50 +01:00
This test was written to test SMC where one thread is doing execution while the other thread is modifying. According to the printf documentation it is supposed to "wait for code to be modified" but actually it was testing a race between a printf on one thread and the primary thread modifying the code. Fix this test so it is actually waiting for code modification to happen rather than testing a race condition. This is likely what the original author intended. CI is hitting this flake more frequently now because it is even faster it seems, so fixing this test is necessary to resolve these flakes.