problem with threads
I have a class which has thread as its element. This thread is running continously. There is another method in same class which will be called ocassionaly by another class. Now when this method is invoked I have to stop thread which is running. I have done that by putting that particular thread to sleep inside the method. Even if the thread is put to sleep , performance is poor. i.e. even if thread is put to sleep , it continues running for some time and after that executes method which is invoked.
What could be the reason behind that? Is there any other way of doing that which will improve performance by transferring control directly to method and stopping thread execution for some time ?

