aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/grpc++
diff options
context:
space:
mode:
authorGravatar Craig Tiller <ctiller@google.com>2015-08-19 10:15:44 -0700
committerGravatar Craig Tiller <ctiller@google.com>2015-08-19 10:15:44 -0700
commit9374ce819bff3c933f08b9512ded5c513527fd1f (patch)
tree023351155df64bfb02d13349443c156cfcae5068 /include/grpc++
parent8f615526a300ce2a80de2d5a719f2bbab9a88382 (diff)
Add comments, fix a subtle bug
Diffstat (limited to 'include/grpc++')
-rw-r--r--include/grpc++/server.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/grpc++/server.h b/include/grpc++/server.h
index 6a15dcb371..a2bc097c7f 100644
--- a/include/grpc++/server.h
+++ b/include/grpc++/server.h
@@ -69,6 +69,7 @@ class Server GRPC_FINAL : public GrpcLibrary, private CallHook {
ShutdownInternal(TimePoint<T>(deadline).raw_time());
}
+ // Shutdown the server, waiting for all rpc processing to finish.
void Shutdown() { ShutdownInternal(gpr_inf_future(GPR_CLOCK_MONOTONIC)); }
// Block waiting for all work to complete (the server must either