I have a small problem. I have 2 methods. MethodA and MethodB. If the user chooses to do someoperation on the UI, methodA will get called and finally methodB will get called and a thread is spawned from this methodB. But say suppose the control is in this thread spawned by methodB and the user selects som UI, then, the execution of thread of methodB should terminate instantly.
Is this possible. If yes, please provide me your views.