Skip to content
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

multi: Consolidate waitgroup logic. #3200

Merged
merged 1 commit into from
Oct 28, 2023

Conversation

davecgh
Copy link
Member

@davecgh davecgh commented Oct 24, 2023

This requires #3199.

This switches the various subsystems over to use a new pattern that consolidates the waitgroup logic in a single location.

This pattern is easier to reason about and less error prone since it's trivial to see at a glance that the calls to Done are happening as intended versus having to chase them down all over the code.

@davecgh davecgh added this to the 1.9.0 milestone Oct 24, 2023
@davecgh davecgh force-pushed the multi_conslidate_waitgroup_logic branch 2 times, most recently from a3eb3a0 to 03846ae Compare October 25, 2023 15:01
This switches the various subsystems over to use a new pattern that
consolidates the waitgroup logic in a single location.

This pattern is easier to reason about and less error prone since it's
trivial to see at a glance that the calls to Done are happening as
intended versus having to chase them down all over the code.
@davecgh davecgh force-pushed the multi_conslidate_waitgroup_logic branch from 03846ae to 4e3263c Compare October 28, 2023 06:49
@davecgh davecgh merged commit 4e3263c into decred:master Oct 28, 2023
2 checks passed
@davecgh davecgh deleted the multi_conslidate_waitgroup_logic branch October 28, 2023 06:57
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