Hello, I have a "server" that behaves both as a server as well as a client, as the case may be. In both cases, asynchronous APIs are used. I have three threads: 1. The first thread listens on a "ServerCompletionQueue" using the Next() API. 2. The second thread behaves as a client and sends requests using a CompletionQueue object. 3. I also have a "response collection" thread that listens on the same CompletionQueue object using the Next() API, to receive responses for requests that were made by the client thread.
I was wondering if there is a way to tie both these completion queues together into a single completion queue. I would like to have a single completion queue object on which a. the server thread can listen, b. the client thread can send requests on, and c. the response collection thread can listen for responses on. If this is possible, how can I do this without having to use two different kinds of completion queue objects? Thanks! Regards, Akshitha -- 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/1961793d-9c69-4e7b-bda5-1786ddde8448%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
