aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/grpc++/thread_pool_interface.h
diff options
context:
space:
mode:
authorGravatar vjpai <vpai@google.com>2015-07-16 21:44:44 -0700
committerGravatar vjpai <vpai@google.com>2015-07-16 21:44:44 -0700
commit72a44178e92cc103507e2bdc1a52e709de83b767 (patch)
treeae469fd67a5ec288798e80e58e10bcc31a998895 /include/grpc++/thread_pool_interface.h
parent65ef0fffaecf8396cb93b3a76416d099f7b07438 (diff)
ThreadPoolInterface::ScheduleCallback --> ThreadPoolInterface::Add
Diffstat (limited to 'include/grpc++/thread_pool_interface.h')
-rw-r--r--include/grpc++/thread_pool_interface.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/grpc++/thread_pool_interface.h b/include/grpc++/thread_pool_interface.h
index ac4458d530..d080b31dcc 100644
--- a/include/grpc++/thread_pool_interface.h
+++ b/include/grpc++/thread_pool_interface.h
@@ -44,7 +44,7 @@ class ThreadPoolInterface {
virtual ~ThreadPoolInterface() {}
// Schedule the given callback for execution.
- virtual void ScheduleCallback(const std::function<void()>& callback) = 0;
+ virtual void Add(const std::function<void()>& callback) = 0;
};
ThreadPoolInterface* CreateDefaultThreadPool();