i am using the following where i want to kill the thread :
MyThread.wait();
MyThread.exit();
What i have observed is that i still need to put a sleep() or a while loop between wait() and exit().
If i dont use the same then i still get the same error.
Is this the right way??
Bookmarks