May 11, 2026
11:11 a.m.
On Thu May 7 20:18:02 2026 +0000, Charlotte Pabst wrote: > Seems like it's the former, added a test. Which test is that? I see there is "multiple pending EnqueueResourceReady", but that does a different thing than that I had in mind. My idea was: * enqueue a `ResourceReady`; * enqueue a `ResourceReady` again; * execute `SignalEventOnResourceReady()`: it should signal immediately; * execute `SignalEventOnResourceReady()` again: does it signal immediately again? * execute `SignalEventOnResourceReady()` once again: does it signal immediately again? If only the first `SignalEventOnResourceReady()` signals immediately, then the `ResourceReady` behaves as an auto-resetting event; if the second `SignalEventOnResourceReady()` signals immediately but the third doesn't, then it behaves as a semaphore; it the third `SignalEventOnResourceReady()` signals immediately too, then it behaves as a manually-resetting event. Do we have a test that checks this? -- https://gitlab.winehq.org/wine/wine/-/merge_requests/9777#note_139410