关于InterruptedException
摘要:1.InterruptedException的由来 "Thread.sleep(long millis)", 以及"thread.wait()"方法,都会抛出InterruptedException,很多时候都不知道怎么处理这个异常;这个异常是由thread.interrupt()产生的,比如如果A
阅读全文
posted @ 2020-07-10 16:41
posted @ 2020-07-10 16:41
posted @ 2020-04-29 19:08