丰乐

10 2021 档案

interrupt方法
摘要:如何关闭一个线程 线程生命周期结束 捕获中断信号关闭线程 异常退出 进程假死 interrupt结束线程 interrupt三个方法 void interrupt() static boolean interrupted() boolean isInterrupted() package concu 阅读全文

posted @ 2021-10-05 19:16 李蝉儿 阅读(133) 评论(0) 推荐(0) 编辑

synchronized关键字
摘要:synchronized关键字 1 应用 对方法加锁 对代码块加锁 对class对象加锁 对内部对象加锁 public class Counter { private int count; public synchronized void inrc(){ ++count; } public sync 阅读全文

posted @ 2021-10-05 17:39 李蝉儿 阅读(24) 评论(0) 推荐(0) 编辑

go基础思维导图
摘要:最近翻了下go的42章经觉得很赞,真的是基础又全面,整理了思维导图。 阅读全文

posted @ 2021-10-04 22:39 李蝉儿 阅读(260) 评论(0) 推荐(0) 编辑

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

导航

统计

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