Hi all,

I was wondering that, if I post an asynchronous RPC request to a 
`CompletionQueue` that has been shutdown,
how can I tell from the return value for error handling?
I'm asking this because the asynchronous request and the `Shutdown()` call 
might happen
in two different threads, and since the `CompletionQueue` is thread-safe,
I'm thinking if I can avoid introducing my own synchronization variables and
rely on the result of the asynchronous call to avoid concurrency issues.

Thanks,
Chun-Hung

-- 
You received this message because you are subscribed to the Google Groups 
"grpc.io" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/grpc-io.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/grpc-io/2c145009-0180-4949-8d9d-61c371e06f1b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to