Skip to content

Concurrency: Fix availability of task priority escalation runtime functions#88428

Open
tshortli wants to merge 1 commit intoswiftlang:mainfrom
tshortli:task-priority-escalation-handler-availability
Open

Concurrency: Fix availability of task priority escalation runtime functions#88428
tshortli wants to merge 1 commit intoswiftlang:mainfrom
tshortli:task-priority-escalation-handler-availability

Conversation

@tshortli
Copy link
Copy Markdown
Contributor

  • Explanation: The task priority escalation handler runtime functions had the wrong availability, resulting in crashes for back-deployed programs using them.
  • Scope: Affects programs using withTaskPriorityEscalationHandler(operation:onPriorityEscalated:) and withTaskPriorityEscalationHandler(operation:onPriorityEscalated:isolation:).
  • Issues: rdar://174586474
  • Risk: Low. This targeted adjustment should only influence whether two rarely used concurrency runtime functions are weak linked based on the deployment target.
  • Testing: New IRGen tests.
  • Reviewers:

…ctions.

They are only available starting in the Swift 6.2 runtime.

Resolves rdar://174586474.
@tshortli tshortli requested a review from a team as a code owner April 12, 2026 17:12
@tshortli tshortli requested review from gottesmm and ktoso and removed request for ktoso April 12, 2026 17:12
@tshortli
Copy link
Copy Markdown
Contributor Author

@swift-ci please test

@tshortli tshortli requested a review from ktoso April 12, 2026 17:12
@tshortli tshortli enabled auto-merge April 12, 2026 17:13
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.

1 participant