Skip to content

[Concurrency] Task "nurseries" or "Task scopes" #34516

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
Nov 5, 2020

Conversation

ktoso
Copy link
Contributor

@ktoso ktoso commented Oct 30, 2020

Introduces very very basic "nursery" types -- they will be extensively documented in an evolution pitch.

Proposal is now online: https://github.com/DougGregor/swift-evolution/blob/structured-concurrency/proposals/nnnn-structured-concurrency.md

This PR only reflects the proposal, does not add or polish anything yet.
It is just the API shape as we can't yet really get to implementing it.

I'll continue here shortly.

Another piece of rdar://70141994

@ktoso ktoso changed the title [Work In Progress] Task "nurseries" or "Task scopes" [Concurrency][Work In Progress] Task "nurseries" or "Task scopes" Oct 30, 2020
@ktoso ktoso marked this pull request as draft October 30, 2020 09:20
@ktoso ktoso force-pushed the wip-nurseries-taskscopes branch 2 times, most recently from 6ebc4a1 to 47a14bc Compare November 4, 2020 02:20
@ktoso
Copy link
Contributor Author

ktoso commented Nov 4, 2020

@swift-ci please smoke test

@ktoso ktoso changed the title [Concurrency][Work In Progress] Task "nurseries" or "Task scopes" [Concurrency] Task "nurseries" or "Task scopes" Nov 4, 2020
@ktoso ktoso force-pushed the wip-nurseries-taskscopes branch 2 times, most recently from 41dcfc7 to d8a674e Compare November 4, 2020 03:41
@ktoso ktoso marked this pull request as ready for review November 4, 2020 03:48
@ktoso ktoso force-pushed the wip-nurseries-taskscopes branch from d8a674e to 2bdb149 Compare November 4, 2020 04:01
@ktoso
Copy link
Contributor Author

ktoso commented Nov 4, 2020

@swift-ci please smoke test

@ktoso ktoso force-pushed the wip-nurseries-taskscopes branch from 2bdb149 to 8731258 Compare November 5, 2020 10:10
@ktoso
Copy link
Contributor Author

ktoso commented Nov 5, 2020

Thanks to Kavon's #34551 a lot of pending TODO's about missing awaits resolved here :)

Renames of those types may follow; for now let's get them in and keep iterating.

@ktoso
Copy link
Contributor Author

ktoso commented Nov 5, 2020

@swift-ci please smoke test

@ktoso ktoso merged commit b89874a into swiftlang:main Nov 5, 2020
@ktoso ktoso deleted the wip-nurseries-taskscopes branch November 5, 2020 13:14
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