29 Oct
2025
29 Oct
'25
5:26 p.m.
On Wed Oct 29 21:47:26 2025 +0000, Marc-Aurel Zent wrote:
IIRC `STATUS_ACCESS_DENIED` is already correctly handled (both with inproc and server-side waits) and depends on if the opened handle has `SYNCHRONIZE` access. I believe `STATUS_INVALID_HANDLE` is also returned for valid handles that are not waitable, but this could indeed use a bit more testing too. I know some tests might be spread over here and there, but I personally would suggest to see that single vs multiple behaviour tested thorougly in one place, with many handles to one multiple wait, single, all / any etc. Because the difference between wait multiple and wait single call looks so weird.
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/9305#note_120048