-
Notifications
You must be signed in to change notification settings - Fork 10.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Threading robustness #10583
Threading robustness #10583
Conversation
Move server startup to a separate thread. Where there is no opportunity for failure, do not return bool.
|
Test this please |
|
|
|
Ready for review |
@@ -124,7 +124,7 @@ class ServerInterface : public CallHook { | |||
/// \param num_cqs How many completion queues does \a cqs hold. | |||
/// | |||
/// \return true on a successful shutdown. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Update comments?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
include/grpc++/server.h
Outdated
@@ -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. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
comments?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
|
Move server startup to a separate thread.
Where there is no opportunity for failure, do not return bool.