diff options
author | yang-g <yangg@google.com> | 2016-07-11 15:48:01 -0700 |
---|---|---|
committer | yang-g <yangg@google.com> | 2016-07-13 22:23:19 -0700 |
commit | 05573f1692647ca30a10839b61731486700587ac (patch) | |
tree | f5873f430970911aaf6637fb9dfe63ee092b083d /include | |
parent | a5293000534deca9e4d67a323c3b369055615022 (diff) |
Make Server::Wait work for async only server.
Diffstat (limited to 'include')
-rw-r--r-- | include/grpc++/server.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/grpc++/server.h b/include/grpc++/server.h index 7a8858ef19..9a2f8f11c4 100644 --- a/include/grpc++/server.h +++ b/include/grpc++/server.h @@ -183,6 +183,8 @@ class Server GRPC_FINAL : public ServerInterface, private GrpcLibraryCodegen { int num_running_cb_; grpc::condition_variable callback_cv_; + grpc::condition_variable shutdown_cv_; + std::shared_ptr<GlobalCallbacks> global_callbacks_; std::list<SyncRequest>* sync_methods_; |