04 2022 档案

摘要:一、interrupt 1、interrupt用于中断其它线程,置其中断状态为true,但不会立刻使线程结束。 public static void main(String[] args) { Thread aThread = new Thread(() -> { System.out.printl 阅读全文
posted @ 2022-04-16 16:24 牛哈啊牛哈 阅读(385) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示