S
Sean
Hi,
Need some suggestions:
What is the best way to interrupt a blocking function call? I have a
synchronized method which might take a long time to complete, and the time
to complete the work is really depending on network condition and the server
workload. I want to give users a way to break it up instead of waiting for
the WaitCursor forever.
trying to have anothe thread throw an exception and hoping the othe thread
can catch it to beak it up. I found the other thread is not catching the
exception thrown by other thread. Does it make sense? Am I still able to
make it this way? Or other alternative to achieve the same objective?
Thanks in advance.
Sean
Need some suggestions:
What is the best way to interrupt a blocking function call? I have a
synchronized method which might take a long time to complete, and the time
to complete the work is really depending on network condition and the server
workload. I want to give users a way to break it up instead of waiting for
the WaitCursor forever.
trying to have anothe thread throw an exception and hoping the othe thread
can catch it to beak it up. I found the other thread is not catching the
exception thrown by other thread. Does it make sense? Am I still able to
make it this way? Or other alternative to achieve the same objective?
Thanks in advance.
Sean