Skip to content

[CoroutineAccessors] Use async bit in descriptors. #80520

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

Conversation

nate-chandler
Copy link
Contributor

To facilitate back deployment, make use of the fact that the async bit has up to now never been set for read and modify accessors and claim that set bit to indicate that it is a callee-allocated coroutine. This has the virtue of being completely back deployable because like async function pointers coro function pointers must be auth'd and signed as data.

To facilitate back deployment, make use of the fact that the async bit
has up to now never been set for read and modify accessors and claim
that set bit to indicate that it is a callee-allocated coroutine.  This
has the virtue of being completely back deployable because like async
function pointers coro function pointers must be auth'd and signed as
data.
@nate-chandler
Copy link
Contributor Author

@swift-ci please test

@nate-chandler
Copy link
Contributor Author

@swift-ci please test windows platform

Copy link
Contributor

@aschwaighofer aschwaighofer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

SGTM

@nate-chandler nate-chandler marked this pull request as ready for review April 4, 2025 22:47
@nate-chandler nate-chandler merged commit 0063af5 into swiftlang:main Apr 4, 2025
5 checks passed
@nate-chandler nate-chandler deleted the general-coro/20250403/1 branch April 4, 2025 22:47
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.

2 participants