thrift-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From T Vinod Gupta <tvi...@readypulse.com>
Subject Re: Cancel outstanding request on Thrift client (0.8.0)
Date Tue, 06 Mar 2012 20:44:55 GMT
i asked similar question quite some time back and the answer was not
simple.. you can use bidirectional communication to achieve this but the
overhead is upon you to handle.

thanks

On Tue, Mar 6, 2012 at 11:29 AM, James Paton <jpaton2@gmail.com> wrote:

> Hi,
>
> I was wondering how one would go about canceling an ongoing request to a
> Thrift client from another thread? That is, suppose thread A makes a
> request and thread B waits for thread A to signal. Then some event E
> happens and thread B decides to give up on thread A. How does thread B
> cancel the request? Or is there a better way to do this? Keep in mind that
> the event E is not simply the elapsing of a timer.
>
> -- Jim

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message