Re: [PATCH v2 0/4] MR47: kernel32/tests: Add tests for CancelSynchronousIo.
10 Jul
2022
10 Jul
'22
5:41 p.m.
Jinoh Kang (@iamahuman) commented about dlls/ntdll/tests/pipe.c:
Sleep(100); memset(&iosb, 0x55, sizeof(iosb)); res = pNtCancelSynchronousIoFile(thread, NULL, &iosb); - todo_wine { ok(res == STATUS_SUCCESS, "Failed to cancel I/O\n"); ok(U(iosb).Status == STATUS_SUCCESS, "iosb.Status got changed to %lx\n", U(iosb).Status); ok(U(iosb).Information == 0, "iosb.Information got changed to %Iu\n", U(iosb).Information); - CloseHandle(ctx.pipe); WaitForSingleObject(thread, INFINITE); CloseHandle(thread); + CloseHandle(ctx.pipe);
Any reason why the call to `CloseHandle` is being moved? -- https://gitlab.winehq.org/wine/wine/-/merge_requests/47#note_3837
1255
Age (days ago)
1255
Last active (days ago)
0 comments
1 participants
participants (1)
-
Jinoh Kang (@iamahuman)