diff options
author | Vijay Pai <vpai@google.com> | 2015-07-15 12:33:37 -0700 |
---|---|---|
committer | Vijay Pai <vpai@google.com> | 2015-07-15 12:33:37 -0700 |
commit | 69f241008645503e1241272f279dc7f02e183e87 (patch) | |
tree | f0b362239414ee80c6f00a90389ce1c46b100928 /include/grpc++/thread_pool_interface.h | |
parent | e6d12d335c160b02a8f866775ffe953962f5988f (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.h | 2 |
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 |