Skip to content

[5.3] Fix concurrent operations execution in OperationQueue #2954

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
Jan 15, 2021

Conversation

lxbndr
Copy link
Contributor

@lxbndr lxbndr commented Dec 19, 2020

To be able to run operations concurrently OperationQueue needs concurrent underlying DispatchQueue. This patch uses .concurrent attribute to create DispatchQueues with required behavior.

This matches with Darwin.

(cherry picked from commit fdb1118, original PR #2937)

To be able to run operations concurrently OperationQueue needs
concurrent underlying DispatchQueue.

This matches with Darwin.
@spevans
Copy link
Contributor

spevans commented Dec 19, 2020

@swift-ci test

@tomerd
Copy link

tomerd commented Jan 15, 2021

@spevans should we merge this while within the 5.3.3 window?

@tomerd tomerd added the 5.3 label Jan 15, 2021
@spevans
Copy link
Contributor

spevans commented Jan 15, 2021

@swift-ci test

@spevans spevans merged commit 95fb612 into swiftlang:release/5.3 Jan 15, 2021
@lxbndr lxbndr deleted the really-concurrent-queue-5.3 branch January 15, 2021 22:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants