Update CallRegistrationTable comment

pull/23804/head
Vijay Pai 5 years ago committed by GitHub
parent 412e987f67
commit e76b97d27e
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