29 Oct
2025
29 Oct
'25
12:22 p.m.
Paul Gofman (@gofman) commented about dlls/kernelbase/sync.c:
*/ DWORD WINAPI DECLSPEC_HOTPATCH WaitForSingleObjectEx( HANDLE handle, DWORD timeout, BOOL alertable ) { - return WaitForMultipleObjectsEx( 1, &handle, FALSE, timeout, alertable ); + NTSTATUS status; + LARGE_INTEGER time; + + status = NtWaitForSingleObject( normalize_std_handle( handle ), alertable, It would probably need a test for waiting on stdio handles to see if introducing normalize_std_handle is needed here, for either wait for single object or both.
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/9305#note_120014