본문 바로가기

아는 만큼 보인다/Concurrency

Thread 상태

new 

→ Runable

↔ waiting          by lockObj.wait() or synchronizers (latch, barrier, semaphore ...)

↔ timed waiting  by lockObj.wait(time) or sleep()

↔ blocked         by acquiring lock or I/O request

→ terminated