diff options
author | Sree Kuchibhotla <sreek@google.com> | 2016-07-19 11:00:39 -0700 |
---|---|---|
committer | Sree Kuchibhotla <sreek@google.com> | 2016-07-19 11:00:39 -0700 |
commit | bb5519f5a52aeb23d32ec6ca817e008a65fdfa30 (patch) | |
tree | 6767ab57626761f879c68d8fe1cbda92291bc01b /src/cpp/rpcmanager/grpc_rpc_manager.h | |
parent | 0ba41907a25bd2433a433b82269817ea9ab8ec2d (diff) |
More changes
Diffstat (limited to 'src/cpp/rpcmanager/grpc_rpc_manager.h')
-rw-r--r-- | src/cpp/rpcmanager/grpc_rpc_manager.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/cpp/rpcmanager/grpc_rpc_manager.h b/src/cpp/rpcmanager/grpc_rpc_manager.h index a8cc6eb80f..475ce97995 100644 --- a/src/cpp/rpcmanager/grpc_rpc_manager.h +++ b/src/cpp/rpcmanager/grpc_rpc_manager.h @@ -53,7 +53,6 @@ class GrpcRpcManager { virtual void PollForWork(bool& is_work_found, void **tag) = 0; virtual void DoWork(void *tag) = 0; - // Use the following two functions for testing purposes only void Wait(); void ShutdownRpcManager(); @@ -64,6 +63,8 @@ class GrpcRpcManager { // The Run() function calls GrpcManager::MainWorkLoop() function and once that // completes, it marks the GrpcRpcManagerThread completed by calling // GrpcRpcManager::MarkAsCompleted() + // TODO: sreek - Consider using a separate threadpool rather than implementing + // one in this class class GrpcRpcManagerThread { public: GrpcRpcManagerThread(GrpcRpcManager* rpc_mgr); |