Add comment

pull/10348/head
Sree Kuchibhotla 8 years ago
parent 525f1a9f7f
commit 5c0ef36679
  1. 4
      src/cpp/common/completion_queue_cc.cc

@ -43,6 +43,10 @@ namespace grpc {
static internal::GrpcLibraryInitializer g_gli_initializer;
// 'CompletionQueue' constructor can safely call GrpcLibraryCodegen(false) here
// i.e not have GrpcLibraryCodegen call grpc_init(). This is because, to create
// a 'grpc_completion_queue' instance (which is being passed as the input to
// this constructor), one must have already called grpc_init().
CompletionQueue::CompletionQueue(grpc_completion_queue* take)
: GrpcLibraryCodegen(false), cq_(take) {
InitialAvalanching();

Loading…
Cancel
Save