Skip to content

[Freestanding] Disable Task.sleep and AsyncStream. #60919

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 4 commits into from
Oct 18, 2022

Conversation

nate-chandler
Copy link
Contributor

@nate-chandler nate-chandler commented Sep 1, 2022

rdar://99444461

@nate-chandler
Copy link
Contributor Author

@swift-ci please test

@nate-chandler
Copy link
Contributor Author

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

@nate-chandler
Copy link
Contributor Author

@swift-ci please test macOS platform

@nate-chandler nate-chandler reopened this Oct 18, 2022
@nate-chandler nate-chandler changed the title [Freestanding] Disable unsafe continuations. [Freestanding] Disable Task.sleep and AsyncStream. Oct 18, 2022
Under the task-to-thread model, specifying a priority doesn't make
sense.

Here, variations of addTask and addTaskUnlessCancelled are introduced
which do not take a priority.  Additionally, the original functions are
made unavailable.
@nate-chandler
Copy link
Contributor Author

@swift-ci please test

@nate-chandler
Copy link
Contributor Author

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

@nate-chandler nate-chandler merged commit ac07031 into swiftlang:main Oct 18, 2022
@nate-chandler nate-chandler deleted the rdar99444461 branch October 18, 2022 22:39
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