Skip to content

[Concurrency] Fix issue with using Dispatch queues as executors. #81201

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
May 1, 2025

Conversation

al45tair
Copy link
Contributor

We were failing to switch executors to Dispatch queues, where those were being used as executors, which caused a variety of unusual symptoms.

rdar://150310927

We were failing to switch executors to Dispatch queues, where those
were being used as executors, which caused a variety of unusual
symptoms.

rdar://150310927
@al45tair al45tair added 🍒 release cherry pick Flag: Release branch cherry picks swift 6.2 labels Apr 30, 2025
@al45tair al45tair requested a review from ktoso April 30, 2025 13:30
@al45tair al45tair requested a review from a team as a code owner April 30, 2025 13:30
@al45tair
Copy link
Contributor Author

Explanation: While rearranging Concurrency I'd inadvertently removed some code that munged Dispatch queue pointers into executor references. It needs to be there in order to support the case where we're using a custom dispatch queue as an executor.
Risk: Low. Reinstates existing code, with a tweak to the newer code to make that cope with it.
Original PR: #81200
Reviewed by: @ktoso
Resolves: rdar://150310927
Tests: This was manually tested at desk.

@al45tair
Copy link
Contributor Author

@swift-ci Please test

@al45tair al45tair merged commit c072992 into swiftlang:release/6.2 May 1, 2025
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🍒 release cherry pick Flag: Release branch cherry picks swift 6.2
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants