Thread#sleep、thread#wait和thread#join被其他线程thread#interrupt()之后,会抛出 InterruptedException;需要在线程中处理InterruptedException;
LockSupport.park() 方法被其他线程thread#interrupt()之后不回抛出InterruptedException,程序继续往下执行;
Thread#sleep、thread#wait和thread#join被其他线程thread#interrupt()之后,会抛出 InterruptedException;需要在线程中处理InterruptedException;
LockSupport.park() 方法被其他线程thread#interrupt()之后不回抛出InterruptedException,程序继续往下执行;