随笔分类 - Thread
java多线程技术
摘要:博客:https://www.jianshu.com/p/7058c21e615e public static void main(String[] args) { test3(); } public static void test1() { Runnable runnable = () -> {
阅读全文
摘要:https://blog.csdn.net/a837199685/article/details/52712547 package com.cn.xiaonuo.main.test.module; import com.cn.xiaonuo.core.tenant.entity.TenantInfo
阅读全文
该文被密码保护。
摘要:MyThread.class Run.class mainThread: falsemyThread: truemain 开始睡觉java.lang.InterruptedException: sleep interrupted at java.lang.Thread.sleep(Native Me
阅读全文
摘要:参考:https://www.cnblogs.com/andy-zhou/p/5402984.html
阅读全文