
Thread
weixin_44836361
这个作者很懒,什么都没留下…
展开
-
线程并发(二)
原创 2021-09-02 15:22:46 · 65 阅读 · 0 评论 -
线程并发(三)
1.两阶段终止模式正确思想:sleep+interruptpublic class twoPhaseTermitation { public static void main(String[] args) throws InterruptedException { twoPhaseTermination tpt = new twoPhaseTermination(); tpt.start(); Thread.sleep(3500); .原创 2021-09-02 15:36:07 · 58 阅读 · 0 评论