-
Notifications
You must be signed in to change notification settings - Fork 10.5k
[Concurrency] DiscardingTaskGroup (rev 3) #62914
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
Conversation
wip on options implement discardResults as a flag passed to grout init
@swift-ci please smoke test |
@swift-ci please smoke test |
Seems CI now automatically assigns reviewers? |
@swift-ci please smoke test |
Seems like a minor real issue remains, but we're almost done :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks great, and I like the new factoring on the C++ side
stdlib/public/BackDeployConcurrency/CompatibilityOverrideConcurrency.def
Outdated
Show resolved
Hide resolved
c9297b4
to
6d63cf4
Compare
54ff0a5
to
128e2b2
Compare
@swift-ci please smoke test |
This reverts commit 128e2b2.
Meh, stray import Darwin in test broke the windows CI -- landing this now :) |
@swift-ci please smoke test and merge |
This is a cleaner implementation than previously attempted, in that it shares implementation bits with the
TaskGroup
, which is now calledAccumulatingTaskGroup
internally. We're able to re-use the common things and make the things a discarding group cannot do, not available at all, rather than awkwardly if-around-everything as the previous implementation attempt did (and without copying ALL of the implementation as the previous previous implementation did).Replaces #62361
Resolves rdar://101965913