2023年8月7日

java 从外部强制结束死循环代码

摘要: public class ThreadTimeoutExample { public static void main(String[] args) { Thread thread = new Thread(new MyRunnable()); thread.start(); // 启动线程 try 阅读全文

posted @ 2023-08-07 09:58 空明流光 阅读(66) 评论(0) 推荐(0) 编辑

导航