aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/grpc++/server.h
diff options
context:
space:
mode:
authorGravatar Craig Tiller <ctiller@google.com>2017-04-11 15:05:46 -0700
committerGravatar Craig Tiller <ctiller@google.com>2017-04-11 15:05:46 -0700
commit9d9313cfc650e79b44f95d9b7fd9e75e2dc38111 (patch)
tree76c23d6654c8aef2689e6dd19ffb8be7284cb35e /include/grpc++/server.h
parent380c3a7e1e801cf5a24164a518dc59d6c431f5db (diff)
Threading robustness
Move server startup to a separate thread. Where there is no opportunity for failure, do not return bool.
Diffstat (limited to 'include/grpc++/server.h')
-rw-r--r--include/grpc++/server.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/grpc++/server.h b/include/grpc++/server.h
index 489937712e..af90a5c70b 100644
--- a/include/grpc++/server.h
+++ b/include/grpc++/server.h
@@ -179,7 +179,7 @@ class Server final : public ServerInterface, private GrpcLibraryCodegen {
/// \param num_cqs How many completion queues does \a cqs hold.
///
/// \return true on a successful shutdown.
- bool Start(ServerCompletionQueue** cqs, size_t num_cqs) override;
+ void Start(ServerCompletionQueue** cqs, size_t num_cqs) override;
void PerformOpsOnCall(CallOpSetInterface* ops, Call* call) override;