Skip to content

shims: fix TAILQ_CONCAT() edge cases #496

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 12, 2019
Merged

shims: fix TAILQ_CONCAT() edge cases #496

merged 1 commit into from
Jun 12, 2019

Conversation

adierking
Copy link
Contributor

This needs to set the te_next of the last element in head1 and also
handle the case where head1 is empty. This fixes a hang in the
dispatch_context_for_key test on Windows because the the queue-specific
list was getting corrupted in _dispatch_queue_specific_head_dispose().

This needs to set the `te_next` of the last element in `head1` and also
handle the case where `head1` is empty. This fixes a hang in the
dispatch_context_for_key test on Windows because the the queue-specific
list was getting corrupted in `_dispatch_queue_specific_head_dispose()`.
@adierking
Copy link
Contributor Author

cc @compnerd @ktopley-apple

@compnerd
Copy link
Member

@swift-ci please test

@ktopley-apple ktopley-apple merged commit f01432d into swiftlang:master Jun 12, 2019
rokhinip pushed a commit that referenced this pull request Nov 5, 2021
shims: fix TAILQ_CONCAT() edge cases
Signed-off-by: Kim Topley <[email protected]>
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