Merge pull request #23804 from grpc/vjpai-patch-1-2

Update CallRegistrationTable comment
pull/23873/head^2
Vijay Pai 4 years ago committed by GitHub
commit f496ff94c4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      src/core/lib/surface/channel.h

@ -90,6 +90,9 @@ struct RegisteredCall {
struct CallRegistrationTable {
grpc_core::Mutex mu;
// The map key should be owned strings rather than unowned char*'s to
// guarantee that it outlives calls on the core channel (which may outlast the
// C++ or other wrapped language Channel that registered these calls).
std::map<std::pair<std::string, std::string>, RegisteredCall>
map /* GUARDED_BY(mu) */;
int method_registration_attempts /* GUARDED_BY(mu) */ = 0;

Loading…
Cancel
Save