Hi,
JQPlus question:test2/threads/q4
What is guaranteed by the JVM about the method yield()?
I have answered:
"The current
thread will sleep for some time giving a chance to other threads to run."
The good answer:
"Nothing is guaranteed."
How that, in jdk1.2:yield
"public static void yield()
Causes the currently executing thread object to temporarily pause and allow other threads to execute."?
So no
word about best-effort or something like that.
So how is it?
Thanks,
Cristian