posted 23 years ago
yield() will definately stop the thread from execution and look for any other thread, if there is any other thread it will execute that thread, but if there is no other thread then the original thread will get executed. Here the thread will STOP, then check for another thread, if couldn't fine, execute the same thread, thats what I think.
Any comments,
--Farooq
Muhammad Farooq<br />Sun Certified Programmer for Java 2 Platform<br />Oracle8i Certified Professional Database Administrator