Skip to content

[Concurrency] Nurseries are now Task.Groups #34604

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 6, 2020

Conversation

ktoso
Copy link
Contributor

@ktoso ktoso commented Nov 6, 2020

Rename as discussed in meeting @DougGregor @rjmccall

We decided to use Task.Group for now rather than the confusing Nursery term.

I also considered calling the type ScopedGroup because it is only to be used with Task.withGroup { ... and there may be a new one which we'd allow to store; and that one would be a normal Group or something similar perhaps. But we've not done that yet so not jumping ahead just yet. This will be better to work on once we have the basic infra working.

rdar://70141994

@ktoso ktoso requested a review from DougGregor November 6, 2020 00:52
@ktoso ktoso changed the title [Concurrency] Nurseries are now Task.Groups [Concurrency] Nurseries are now Task.Groups Nov 6, 2020
@DougGregor
Copy link
Member

@swift-ci please smoke test

@ktoso ktoso force-pushed the wip-nurseries-are-groups branch from 0cc529c to 49c6ae3 Compare November 6, 2020 02:01
@ktoso
Copy link
Contributor Author

ktoso commented Nov 6, 2020

Oh boy, silly typo slipped through; fixed.

@ktoso
Copy link
Contributor Author

ktoso commented Nov 6, 2020

@swift-ci please smoke test and merge

@swift-ci swift-ci merged commit 4b91350 into swiftlang:main Nov 6, 2020
@ktoso ktoso deleted the wip-nurseries-are-groups branch November 6, 2020 04:38
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.

3 participants