Skip to content

Conversation

@ktoso
Copy link
Contributor

@ktoso ktoso commented Mar 24, 2023

This implements the last pending piece of SE-0392: Custom Actor Executors - https://github.com/apple/swift-evolution/blob/main/proposals/0392-custom-actor-executors.md#different-executors-offering-the-same-execution-context

Specifically it adds the

  func isSameExclusiveExecutionContext(other: Self) -> Bool

API for cooperative checking of executor compatibility.

Radar: rdar://107174704

@ktoso ktoso force-pushed the wip-isSameExclusiveExecutionContext branch from fe3fbaf to 7caca18 Compare March 27, 2023 13:53
@ktoso
Copy link
Contributor Author

ktoso commented Mar 27, 2023

@swift-ci please test

@ktoso ktoso force-pushed the wip-isSameExclusiveExecutionContext branch from 7caca18 to 949741e Compare March 27, 2023 14:19
@ktoso
Copy link
Contributor Author

ktoso commented Mar 27, 2023

preset=stdlib_S_standalone_minimal_macho_x86_64,build,test
@swift-ci please clean test with toolchain and preset

@ktoso ktoso requested review from jckarter, rjmccall and rokhinip March 27, 2023 14:20
@ktoso
Copy link
Contributor Author

ktoso commented Mar 27, 2023

@swift-ci please smoke test

@ktoso
Copy link
Contributor Author

ktoso commented Mar 28, 2023

@swift-ci please smoke test

@ktoso
Copy link
Contributor Author

ktoso commented Mar 28, 2023

preset=stdlib_S_standalone_minimal_macho_x86_64,build,test
@swift-ci please clean test with toolchain and preset

@ktoso ktoso added the concurrency Feature: umbrella label for concurrency language features label Mar 28, 2023
@ktoso ktoso merged commit 0586c14 into swiftlang:main Mar 28, 2023
@ktoso ktoso deleted the wip-isSameExclusiveExecutionContext branch March 28, 2023 06:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

concurrency Feature: umbrella label for concurrency language features

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant