diff options
author | Nicolas Noble <nicolasnoble@users.noreply.github.com> | 2016-07-21 11:28:44 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-07-21 11:28:44 -0700 |
commit | f6aefa3ea66d6e49c3853dea260ef723ff796f99 (patch) | |
tree | becd29d3d3d44ad8962eba82f4efcd1229805b93 /include | |
parent | d9f2fe7bb9e35b938f1d3db35c1ce07dd97d138c (diff) | |
parent | 807387641f8a8acceb3a8e58adabf3080afb871d (diff) |
Merge pull request #7400 from yang-g/ga_branch2
Cherrypick #7319 into v1.0.x
Diffstat (limited to 'include')
-rw-r--r-- | include/grpc++/server.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/grpc++/server.h b/include/grpc++/server.h index 7a8858ef19..6876961e21 100644 --- a/include/grpc++/server.h +++ b/include/grpc++/server.h @@ -179,10 +179,13 @@ class Server GRPC_FINAL : public ServerInterface, private GrpcLibraryCodegen { grpc::mutex mu_; bool started_; bool shutdown_; + bool shutdown_notified_; // The number of threads which are running callbacks. 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_; |