摘要: JUC学习-10-打断线程 # 判断当前线程是否被打断,清除打断标记 pubilc static boolean interrupted() # 判断当前线程是否被打断,不清除打断标记 public boolean isInterrupted() 一、静态打断方法 并且清除打断标记 可以看到,虽然在 阅读全文
posted @ 2025-07-01 09:04 skystrivegao 阅读(17) 评论(0) 推荐(0)