Could you be a little more specific or perhaps point me to the message you saw?

One possiblity that occured to me was to just kill the thread in which the RPC 
was occuring. What would be the effect of this?

-- Jim

On Mar 6, 2012, at 2:44 PM, T Vinod Gupta wrote:

> 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 <jpat...@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

Reply via email to