aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/grpc++/thread_pool_interface.h
diff options
context:
space:
mode:
authorGravatar Vijay Pai <vpai@google.com>2015-07-15 12:33:37 -0700
committerGravatar Vijay Pai <vpai@google.com>2015-07-15 12:33:37 -0700
commit69f241008645503e1241272f279dc7f02e183e87 (patch)
treef0b362239414ee80c6f00a90389ce1c46b100928 /include/grpc++/thread_pool_interface.h
parente6d12d335c160b02a8f866775ffe953962f5988f (diff)
Make thread_pool.h a public header
Rename ThreadPool -> FixedSizeThreadPool to allow for later introduction of DynamicSizeThreadPool
Diffstat (limited to 'include/grpc++/thread_pool_interface.h')
-rw-r--r--include/grpc++/thread_pool_interface.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/grpc++/thread_pool_interface.h b/include/grpc++/thread_pool_interface.h
index ead307f6a2..ac4458d530 100644
--- a/include/grpc++/thread_pool_interface.h
+++ b/include/grpc++/thread_pool_interface.h
@@ -47,6 +47,8 @@ class ThreadPoolInterface {
virtual void ScheduleCallback(const std::function<void()>& callback) = 0;
};
+ThreadPoolInterface* CreateDefaultThreadPool();
+
} // namespace grpc
#endif // GRPCXX_THREAD_POOL_INTERFACE_H