yeild() is just REQUEST to JVM . It is upto JVM to execute the request or not. So in the end behaviour is not determined . so we cannot exactly say that when yeild() is given thread stops from executing.
Originally posted by babu sharath: yeild() is just REQUEST to JVM . It is upto JVM to execute the request or not. So in the end behaviour is not determined . so we cannot exactly say that when yeild() is given thread stops from executing.