[Java] 자바 Thread 주요 기능(sleep, interrupt, join)
1. Thread Class 자바 Thread의 꼭 알아야 할 주요 기능으로는 sleep, interrupt, join이 있습니다. public class Thread implements Runnable { public static native void sleep(long millis) throws InterruptedException; public void interrupt() { if (this != Thread.currentThread()) { checkAccess(); // thread may be blocked in an I/O operation synchronized (blockerLock) { Interruptible b = blocker; if (b != null) { interrupt0(..