MCPcopy Create free account
hub / github.com/apache/brpc / EqualChannelPtr

Class EqualChannelPtr

src/brpc/parallel_channel.cpp:516–521  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

514};
515
516struct EqualChannelPtr {
517 bool operator()(const ParallelChannel::SubChan& c1,
518 const ParallelChannel::SubChan& c2) const {
519 return c1.chan == c2.chan;
520 }
521};
522
523void ParallelChannel::Reset() {
524 // Removal of channels are a little complex because a channel may be

Callers 1

ResetMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected