Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Misc windows additions+fixes #3715

Merged
merged 14 commits into from
Dec 2, 2019
Merged

Conversation

daurnimator
Copy link
Contributor

@daurnimator daurnimator commented Nov 19, 2019

More work towards AFD.

Breaking changes:

  • windows.WaitForSingleObject(handle: HANDLE, milliseconds: DWORD) WaitForSingleObjectError!void is now: windows.WaitForSingleObjectEx(handle: HANDLE, milliseconds: DWORD, alertable: bool) WaitForSingleObjectError!void

@daurnimator daurnimator added os-windows standard library This issue involves writing Zig code for the standard library. labels Nov 19, 2019
@daurnimator daurnimator force-pushed the towards-afd branch 3 times, most recently from 496fa52 to b8c89c5 Compare November 22, 2019 02:29
lib/std/os/windows.zig Outdated Show resolved Hide resolved
lib/std/os/windows.zig Outdated Show resolved Hide resolved
lib/std/os/windows.zig Outdated Show resolved Hide resolved
lib/std/os/windows.zig Outdated Show resolved Hide resolved
lib/std/os/windows.zig Outdated Show resolved Hide resolved
lib/std/os/windows.zig Outdated Show resolved Hide resolved
lib/std/os/windows/bits.zig Show resolved Hide resolved
lib/std/os/windows/kernel32.zig Outdated Show resolved Hide resolved
@daurnimator daurnimator force-pushed the towards-afd branch 2 times, most recently from de489d6 to 0effb2d Compare November 26, 2019 07:33
@daurnimator daurnimator added the breaking Implementing this issue could cause existing code to no longer compile or have different behavior. label Nov 26, 2019
Copy link
Member

@andrewrk andrewrk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry, one more API suggestion here. I think it will be better for WaitForMultipleObjectsEx to return the actual handle index. It should have doc comments too, since it's a different integer value than what the Windows API returns.

Everything else looks good 👍

lib/std/os/windows.zig Outdated Show resolved Hide resolved
lib/std/os/windows.zig Outdated Show resolved Hide resolved
@andrewrk andrewrk merged commit b7be577 into ziglang:master Dec 2, 2019
@daurnimator daurnimator deleted the towards-afd branch December 2, 2019 21:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
breaking Implementing this issue could cause existing code to no longer compile or have different behavior. os-windows standard library This issue involves writing Zig code for the standard library.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants