Skip to content

Comments

ChildManager: replace task and channel with a set#12

Merged
dfawley merged 2 commits intov0from
v0-CMSet
Jun 5, 2025
Merged

ChildManager: replace task and channel with a set#12
dfawley merged 2 commits intov0from
v0-CMSet

Conversation

@dfawley
Copy link
Owner

@dfawley dfawley commented Jun 5, 2025

No description provided.

@dfawley dfawley requested a review from easwars June 5, 2025 17:25
@@ -224,20 +212,16 @@ impl<T: PartialEq + Hash + Eq + Send + Sync + 'static> LbPolicy for ChildManager
}

fn work(&mut self, _channel_controller: &mut dyn ChannelController) {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit: we probably should get rid of the _ in the parameter name.

}

struct WrappedWorkScheduler<T: Send + Sync + 'static> {
struct ChildScheduler<T: ChildIdentifier> {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Doesn't this ChildScheduler need to a ref to the work_serializer passed to the ChildManager? Otherwise, how does a call to schedule_work on this type result in a call to schedule_work on the parent work_scheduler?

@dfawley dfawley merged commit 580ab71 into v0 Jun 5, 2025
0 of 17 checks passed
@dfawley dfawley deleted the v0-CMSet branch November 24, 2025 23:19
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