|
|
|
@ -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(); |
|
|
|
|