Skip to content

Stub out unimplemented Windows functions #374

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

Merged
merged 1 commit into from
Jun 29, 2018
Merged

Stub out unimplemented Windows functions #374

merged 1 commit into from
Jun 29, 2018

Conversation

adierking
Copy link
Contributor

Provide stubs for unimplemented Windows functions so that dispatch.dll can link
and we can start building the tests. If one of these stubs is called, it will be
reported to the CRT.

@adierking
Copy link
Contributor Author

cc @MadCoder @compnerd

}

void
_dispatch_event_loop_wait_for_ownership(
Copy link
Contributor

Choose a reason for hiding this comment

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

for this family of functions, you should instead start a: src/event/event_windows.c and copy the functions from event_epoll.c that do nothing and or assert.

they will likely not have an implementation on windows for a while in the first place.

Provide stubs for unimplemented Windows functions so that dispatch.dll can link
and we can start building the tests. If one of these stubs is called, it will be
reported to the CRT.
@adierking
Copy link
Contributor Author

Updated to put event functions in an event_windows.c.

@MadCoder
Copy link
Contributor

@swift-ci please test

@MadCoder MadCoder merged commit b863538 into swiftlang:master Jun 29, 2018
@adierking adierking deleted the stubs branch December 2, 2018 00:33
ktopley-apple pushed a commit that referenced this pull request Dec 6, 2018
Stub out unimplemented Windows functions

Signed-off-by: Kim Topley <ktopley@apple.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants