Thanks for your answer.
What I meant is calling the asynchronous API with a cq that has been shut
down.
It seems to me that it would be nicer if the grpc library has some way to
report such an error,
say maybe returning a null unique_ptr of async reader when an event is
added after cq is shut
It is not clear to me what you meant by post an async rpc request to a cq.
However, the user of a cq needs to guarantee that no new event is added to
the cq after a shutdown is called. As a result, you most likely need some
of your own synchronization.
Thanks.
On Thursday, July 27, 2017 at