diff options
author | Vijay Pai <vpai@google.com> | 2018-10-26 12:54:44 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-10-26 12:54:44 -0700 |
commit | b8f3b532d3a0682eca6fdcd82a2cd3a4b82fd56e (patch) | |
tree | fe338677dfa67ebbcc969a6b6f18ffe47c2b556f | |
parent | 5cf95f0b52c21e6ebd0a7917d619da7b545d86c7 (diff) | |
parent | 91faa8e8f05ba862b23d7720990ac9ae3e46b592 (diff) |
Merge pull request #17018 from sreecha/patch-1
Fix an outdated comment
-rw-r--r-- | include/grpcpp/impl/codegen/completion_queue.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/include/grpcpp/impl/codegen/completion_queue.h b/include/grpcpp/impl/codegen/completion_queue.h index 179b82a358..4ca19f4672 100644 --- a/include/grpcpp/impl/codegen/completion_queue.h +++ b/include/grpcpp/impl/codegen/completion_queue.h @@ -377,10 +377,9 @@ class ServerCompletionQueue : public CompletionQueue { ServerCompletionQueue() : polling_type_(GRPC_CQ_DEFAULT_POLLING) {} private: - /// \param polling_type Informs the GRPC library about whether the - /// server completion queue would be actively polled (by calling Next() or - /// AsyncNext()). By default all server completion queues are assumed to be - /// frequently polled. + /// \param polling_type Informs the GRPC library about the type of polling + /// allowed on this completion queue. See grpc_cq_polling_type's description + /// in grpc_types.h for more details. ServerCompletionQueue(grpc_cq_polling_type polling_type) : CompletionQueue(grpc_completion_queue_attributes{ GRPC_CQ_CURRENT_VERSION, GRPC_CQ_NEXT, polling_type, nullptr}), |