BLOCKED와 WAITING의 소유권·취소 차이

둘 다 CPU를 놓지만 어떤 사건으로 다시 움직이는지가 다르다.

BLOCKED

synchronized monitor entry에서 owner unlock을 기다리고 interrupt로 포기하지 않는다

intrinsic lock

WAITING

park·join·latch에서 signal 또는 interrupt를 기다린다

explicit event
Timed waitparkNanos와 timed tryLock은 시간 경과도 조건이다

핵심: lock wait 취소가 필수이면 interruptible ReentrantLock acquisition을 검토한다.