Skip to content

shims: correct indirection on Windows #451

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

Closed
wants to merge 1 commit into from

Conversation

compnerd
Copy link
Member

@compnerd compnerd commented Mar 5, 2019

The _dispatch_sema4_t type is a pointer to the handle of the
semaphore, so we need to indirect through the pointer before using it.
This site was incorrectly using it directly.

The `_dispatch_sema4_t` type is a pointer to the handle of the
semaphore, so we need to indirect through the pointer before using it.
This site was incorrectly using it directly.
@compnerd
Copy link
Member Author

compnerd commented Mar 5, 2019

@swift-ci please test

@compnerd
Copy link
Member Author

compnerd commented Mar 5, 2019

@ktopley-apple - not so sure about this making things more complicated. This fixes a bug in libdispatch (which also exists in 1121) and improves the usage of it for XCTest on Windows. However, not sure if this complicates the merge. If not, it would be great to get this merged.

@compnerd
Copy link
Member Author

compnerd commented Mar 5, 2019

@swift-ci please test

@compnerd
Copy link
Member Author

compnerd commented Mar 6, 2019

@swift-ci please testt

@compnerd
Copy link
Member Author

compnerd commented Mar 7, 2019

This is included in the windows improvements, lets just go with that.

@compnerd compnerd closed this Mar 7, 2019
@compnerd compnerd deleted the indirect branch March 7, 2019 18:33
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.

2 participants