On Wed Mar 29 14:05:35 2023 +0000, Zebediah Figura wrote:
This is randomly succeeding for me, along the lines of: dxgi.c:7138: Test succeeded inside todo block: Got unexpected wait result 0. dxgi.c:7189: Test succeeded inside todo block: Got unexpected wait result 0. dxgi.c:7189: Test succeeded inside todo block: Got unexpected wait result 0. Is there any way to avoid that?
Ha, that's what that `Sleep(100)` call was for! I guess that sometimes the scheduled presentation requests take a bit longer to happen, and set the event after it is waited for, seemingly making it behave like a semaphore and therefore violating the `todo_wine_if()` annotation. I'll reintroduce `Sleep(100)`, so that waiting for events starts only once all presentations have (hopefully) happened. Once `todo_wine_if()` is removed, the `Sleep(100)` can be removed to (what is the future tense of "can" in English, in the contexts where "be able to" is not a valid replacement for "can"?).