Java thread state transition, WAITING to BLOCKED, or RUNNABLE?
问题 There seems to be a discrepancy between SO consensus and nearly every Java thread state diagram on the Internet; specifically, regarding thread state transition from WAITING after notify() or notifyAll() is invoked... WAITING never goes directly to RUNNABLE The thread is WAITING until it is notified...Then it becomes BLOCKED... Once this thread is notified, it will not be runnable...This is..Blocked State. So the concensus on SO is: a thread transitions from WAITING to BLOCKED after invoking