3 ms·
I believe both the OS and the JVM is free to reschedule it. Yields are just an explicit way of possibly changing the thread.
by kaba0 5y ago
I believe both the OS and the JVM is free to reschedule it. Yields are just an explicit way of possibly changing the thread.