diff options
author | vjpai <vpai@google.com> | 2015-07-23 14:41:23 -0700 |
---|---|---|
committer | vjpai <vpai@google.com> | 2015-07-23 14:41:23 -0700 |
commit | b76f3ada1177f8ae4ce749a6305b55c3552fb92a (patch) | |
tree | 7f5333801f1bfa51bdfc3ad42776097c954c6232 /include | |
parent | b28456b1e46085bd35b6389b03e6d4de8866bdaf (diff) |
Fix bug on shutdown case
Diffstat (limited to 'include')
-rw-r--r-- | include/grpc++/dynamic_thread_pool.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/grpc++/dynamic_thread_pool.h b/include/grpc++/dynamic_thread_pool.h index 7519a47726..e01063ced2 100644 --- a/include/grpc++/dynamic_thread_pool.h +++ b/include/grpc++/dynamic_thread_pool.h @@ -64,6 +64,7 @@ class DynamicThreadPool GRPC_FINAL : public ThreadPoolInterface { }; grpc::mutex mu_; grpc::condition_variable cv_; + grpc::condition_variable shutdown_cv_; bool shutdown_; std::queue<std::function<void()>> callbacks_; int reserve_threads_; |