On Wed Oct 29 21:39:08 2025 +0000, Paul Gofman wrote:
Before reasoning on gory details, it seems to me we could use more test clearly showing: - the difference between wait single and multiple (multiple as in multiple wait function but with one handle only, with multiple handles, what all and wait any: if there is a difference between waiting for single and multiple, what if handle count or wait all / wait any also matters?); - what happens with std handles (especially because the MR changes behaviour for those); - what happens with other special handles like current thread or token. I'll try to add tests for all of these.
multiple as in multiple wait function but with one handle only, with multiple handles,
multiple as in takes the `NtWaitForMultipleObjects()` path irrespective of number of handles. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/9305#note_120043